ruby-changes:69110
From: Maxime <ko1@a...>
Date: Thu, 21 Oct 2021 08:20:51 +0900 (JST)
Subject: [ruby-changes:69110] c4b99d6a42 (master): Add ASM comment
https://git.ruby-lang.org/ruby.git/commit/?id=c4b99d6a42 From c4b99d6a427060cadde7f5561c5a3db626bc26ba Mon Sep 17 00:00:00 2001 From: Maxime Chevalier-Boisvert <maxime.chevalierboisvert@s...> Date: Mon, 23 Aug 2021 10:43:39 -0400 Subject: Add ASM comment --- yjit_codegen.c | 1 + 1 file changed, 1 insertion(+) diff --git a/yjit_codegen.c b/yjit_codegen.c index ca4718380e..127027ffa7 100644 --- a/yjit_codegen.c +++ b/yjit_codegen.c @@ -1454,6 +1454,7 @@ gen_get_ivar(jitstate_t *jit, ctx_t *ctx, const int max_chain_depth, VALUE compt https://github.com/ruby/ruby/blob/trunk/yjit_codegen.c#L1454 // Guard that the variable is not Qundef // TODO: use cmov to push Qnil in this case + ADD_COMMENT(cb, "guard value not Qundef"); cmp(cb, REG1, imm_opnd(Qundef)); je_ptr(cb, COUNTED_EXIT(side_exit, getivar_undef)); -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/