summaryrefslogtreecommitdiff
path: root/yjit_core.c
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2021-03-17 19:07:20 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:32 -0400
commitec1cbbb07d00828e6265074ca4977a8dae6b8b29 (patch)
treecbc4a1cb075eb4e237dd3039c42d1b9a159d82ce /yjit_core.c
parent0cd9120f177b153126a093e4beabb5784cd0ab99 (diff)
downloadruby-ec1cbbb07d00828e6265074ca4977a8dae6b8b29.tar.gz
Get rid of dependency on rb_call_cache
Diffstat (limited to 'yjit_core.c')
-rw-r--r--yjit_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/yjit_core.c b/yjit_core.c
index bd1f6bdd59..cfd1abf901 100644
--- a/yjit_core.c
+++ b/yjit_core.c
@@ -209,8 +209,8 @@ add_block_version(blockid_t blockid, block_t* block)
{
// By writing the new block to the iseq, the iseq now
// contains new references to Ruby objects. Run write barriers.
- RB_OBJ_WRITTEN(iseq, Qundef, block->dependencies.cc);
- RB_OBJ_WRITTEN(iseq, Qundef, block->dependencies.cme);
+ RB_OBJ_WRITTEN(iseq, Qundef, block->receiver_klass);
+ RB_OBJ_WRITTEN(iseq, Qundef, block->callee_cme);
// Run write barriers for all objects in generated code.
uint32_t *offset_element;