Skip to content

Commit 14945e9

Browse files
author
Maxime Chevalier-Boisvert
committed
Add ASM comment
1 parent e5def4b commit 14945e9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

yjit_codegen.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1452,6 +1452,7 @@ gen_get_ivar(jitstate_t *jit, ctx_t *ctx, const int max_chain_depth, VALUE compt
14521452

14531453
// Guard that the variable is not Qundef
14541454
// TODO: use cmov to push Qnil in this case
1455+
ADD_COMMENT(cb, "guard value not Qundef");
14551456
cmp(cb, REG1, imm_opnd(Qundef));
14561457
je_ptr(cb, COUNTED_EXIT(side_exit, getivar_undef));
14571458

0 commit comments

Comments
 (0)