diff options
author | Alan Wu <XrXr@users.noreply.github.com> | 2021-09-22 16:56:42 -0400 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:41 -0400 |
commit | 0a108601eff5a1e69a4dd5dc170e9eaa807d4788 (patch) | |
tree | 347c861e60592a9bb91fa6b1e9c47ad25be29633 /yjit_codegen.c | |
parent | e48fc07d11551a9a47034a03219e73c99bc4a38d (diff) | |
download | ruby-0a108601eff5a1e69a4dd5dc170e9eaa807d4788.tar.gz |
Add counters for version invalidation reasons
I noticed that there were two st_table iterators that do exactly the
same thing so I merged them into one.
Diffstat (limited to 'yjit_codegen.c')
-rw-r--r-- | yjit_codegen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yjit_codegen.c b/yjit_codegen.c index fddf460280..ac7f866d9e 100644 --- a/yjit_codegen.c +++ b/yjit_codegen.c @@ -4079,7 +4079,7 @@ gen_opt_getinlinecache(jitstate_t* jit, ctx_t* ctx, codeblock_t* cb) // Cache is keyed on a certain lexical scope. Use the interpreter's cache. uint8_t *side_exit = yjit_side_exit(jit, ctx); - // Call function to verify the cache + // Call function to verify the cache. It doesn't allocate or call methods. bool rb_vm_ic_hit_p(IC ic, const VALUE *reg_ep); mov(cb, C_ARG_REGS[0], const_ptr_opnd((void *)ic)); mov(cb, C_ARG_REGS[1], member_opnd(REG_CFP, rb_control_frame_t, ep)); |