From 5e26619660f20272a53c7f839dde36cce034bb35 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Thu, 14 Jan 2021 09:55:54 -0800 Subject: Fix WB for callinfo The WB for callinfo needs to be executed *after* the reference is written. Otherwise we get a WB miss. --- compile.c | 1 + 1 file changed, 1 insertion(+) diff --git a/compile.c b/compile.c index 388d476c68..916efb505e 100644 --- a/compile.c +++ b/compile.c @@ -1309,6 +1309,7 @@ new_insn_send(rb_iseq_t *iseq, int line_no, ID id, VALUE argc, const rb_iseq_t * RB_OBJ_WRITTEN(iseq, Qundef, blockiseq); } INSN *insn = new_insn_core(iseq, line_no, BIN(send), 2, operands); + RB_OBJ_WRITTEN(iseq, Qundef, ci); RB_GC_GUARD(ci); return insn; } -- cgit v1.2.3