summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2021-02-17 13:08:53 -0500
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:29 -0400
commit1e573775bf190188c42e61da01314f8fc5481c7b (patch)
tree45761947fd66523455c9d82341dea7dd430fe5b2
parentd3c9e31104ab60177c9b4f97e8a0a393f41ad70c (diff)
Stop printing when invalidating uJIT blocks
-rw-r--r--ujit_core.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ujit_core.c b/ujit_core.c
index ef76637d54..7b135dc89b 100644
--- a/ujit_core.c
+++ b/ujit_core.c
@@ -598,8 +598,8 @@ invalidate_block_version(block_t* block)
{
const rb_iseq_t *iseq = block->blockid.iseq;
- fprintf(stderr, "invalidating block (%p, %d)\n", block->blockid.iseq, block->blockid.idx);
- fprintf(stderr, "block=%p\n", block);
+ // fprintf(stderr, "invalidating block (%p, %d)\n", block->blockid.iseq, block->blockid.idx);
+ // fprintf(stderr, "block=%p\n", block);
block_t *first_block = get_first_version(iseq, block->blockid.idx);
RUBY_ASSERT(first_block != NULL);
@@ -684,7 +684,7 @@ invalidate_block_version(block_t* block)
ujit_free_block(block);
- fprintf(stderr, "invalidation done\n");
+ // fprintf(stderr, "invalidation done\n");
}
int blockid_cmp(st_data_t arg0, st_data_t arg1)