From 0c1aa17556357ca3cb5802d7a23965ed820973e4 Mon Sep 17 00:00:00 2001 From: Maxime Chevalier-Boisvert Date: Wed, 22 Sep 2021 16:16:26 -0400 Subject: Remove a few more uses of the global cb/ocb --- yjit_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yjit_core.c') diff --git a/yjit_core.c b/yjit_core.c index 8090cdd80a..64f7b21156 100644 --- a/yjit_core.c +++ b/yjit_core.c @@ -719,7 +719,7 @@ uint8_t* gen_entry_point(const rb_iseq_t *iseq, uint32_t insn_idx, rb_execution_ blockid_t blockid = { iseq, insn_idx }; // Write the interpreter entry prologue - uint8_t* code_ptr = yjit_entry_prologue(iseq); + uint8_t* code_ptr = yjit_entry_prologue(cb, iseq); // Try to generate code for the entry block block_t* block = gen_block_version(blockid, &DEFAULT_CTX, ec); -- cgit v1.2.3