diff options
author | Maxime Chevalier-Boisvert <[email protected]> | 2021-08-23 10:43:39 -0400 |
---|---|---|
committer | Alan Wu <[email protected]> | 2021-10-20 18:19:39 -0400 |
commit | c4b99d6a427060cadde7f5561c5a3db626bc26ba (patch) | |
tree | c79018a32c9c82848dee632d2d5b34e7469c0c36 /yjit_codegen.c | |
parent | 918668b4a92594675ee0dcbf698b320f015f01e0 (diff) |
Add ASM comment
Diffstat (limited to 'yjit_codegen.c')
-rw-r--r-- | yjit_codegen.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 // 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)); |