ruby-changes:68920
From: Maxime <ko1@a...>
Date: Thu, 21 Oct 2021 08:16:36 +0900 (JST)
Subject: [ruby-changes:68920] 6250506de2 (master): Remove debug prints
https://git.ruby-lang.org/ruby.git/commit/?id=6250506de2 From 6250506de2f11bc45d1d7a0cfb2a4d15390c16ca Mon Sep 17 00:00:00 2001 From: Maxime Chevalier-Boisvert <maxime.chevalierboisvert@s...> Date: Thu, 15 Apr 2021 14:24:39 -0400 Subject: Remove debug prints --- yjit_codegen.c | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/yjit_codegen.c b/yjit_codegen.c index 201e2c5fae..5b6acad46a 100644 --- a/yjit_codegen.c +++ b/yjit_codegen.c @@ -1774,43 +1774,15 @@ gen_oswb_iseq(jitstate_t *jit, ctx_t *ctx, const struct rb_callinfo *ci, const r https://github.com/ruby/ruby/blob/trunk/yjit_codegen.c#L1774 // Stub so we can return to JITted code blockid_t return_block = { jit->iseq, jit_next_insn_idx(jit) }; - // Create a context for the callee ctx_t callee_ctx = DEFAULT_CTX; // Set the argument type in the callee's context for (int32_t arg_idx = 0; arg_idx < argc; ++arg_idx) { - fprintf(stderr, "set arg type, arg_idx=%d\n", arg_idx); - - // x is arg0, but pushed last - val_type_t arg_type = ctx_get_opnd_type(ctx, OPND_STACK(argc - arg_idx - 1)); - - if (arg_type.type == ETYPE_FIXNUM) - fprintf(stderr, "is fixnum\n"); - else - fprintf(stderr, "not fixnum\n"); - ctx_set_local_type(&callee_ctx, arg_idx, arg_type); } - - - fprintf(stderr, "local types\n"); - for (int32_t local_idx = 0; local_idx < argc; ++local_idx) { - fprintf(stderr, "local_idx=%d\n", local_idx); - - val_type_t type = callee_ctx.local_types[local_idx]; - - if (type.type == ETYPE_FIXNUM) - fprintf(stderr, "is fixnum\n"); - else - fprintf(stderr, "not fixnum\n"); - } - - - - // Pop arguments and receiver in return context, push the return value // After the return, the JIT and interpreter SP will match up ctx_t return_ctx = *ctx; -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/