Skip to content

Commit 2b3d1a1

Browse files
author
Maxime Chevalier-Boisvert
committed
Remove debug prints
1 parent f300ab6 commit 2b3d1a1

1 file changed

Lines changed: 0 additions & 28 deletions

File tree

yjit_codegen.c

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1750,43 +1750,15 @@ gen_oswb_iseq(jitstate_t *jit, ctx_t *ctx, const struct rb_callinfo *ci, const r
17501750
// Stub so we can return to JITted code
17511751
blockid_t return_block = { jit->iseq, jit_next_insn_idx(jit) };
17521752

1753-
17541753
// Create a context for the callee
17551754
ctx_t callee_ctx = DEFAULT_CTX;
17561755

17571756
// Set the argument type in the callee's context
17581757
for (int32_t arg_idx = 0; arg_idx < argc; ++arg_idx) {
1759-
fprintf(stderr, "set arg type, arg_idx=%d\n", arg_idx);
1760-
1761-
// x is arg0, but pushed last
1762-
17631758
val_type_t arg_type = ctx_get_opnd_type(ctx, OPND_STACK(argc - arg_idx - 1));
1764-
1765-
if (arg_type.type == ETYPE_FIXNUM)
1766-
fprintf(stderr, "is fixnum\n");
1767-
else
1768-
fprintf(stderr, "not fixnum\n");
1769-
17701759
ctx_set_local_type(&callee_ctx, arg_idx, arg_type);
17711760
}
17721761

1773-
1774-
1775-
fprintf(stderr, "local types\n");
1776-
for (int32_t local_idx = 0; local_idx < argc; ++local_idx) {
1777-
fprintf(stderr, "local_idx=%d\n", local_idx);
1778-
1779-
val_type_t type = callee_ctx.local_types[local_idx];
1780-
1781-
if (type.type == ETYPE_FIXNUM)
1782-
fprintf(stderr, "is fixnum\n");
1783-
else
1784-
fprintf(stderr, "not fixnum\n");
1785-
}
1786-
1787-
1788-
1789-
17901762
// Pop arguments and receiver in return context, push the return value
17911763
// After the return, the JIT and interpreter SP will match up
17921764
ctx_t return_ctx = *ctx;

0 commit comments

Comments
 (0)