diff options
author | Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com> | 2021-09-22 16:16:26 -0400 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:41 -0400 |
commit | 0c1aa17556357ca3cb5802d7a23965ed820973e4 (patch) | |
tree | 0b3bf50eed618265a6e70db093b925331c923433 /yjit_core.c | |
parent | 78b5e95e41cefd36702c37293bab95fdede38369 (diff) |
Remove a few more uses of the global cb/ocb
Diffstat (limited to 'yjit_core.c')
-rw-r--r-- | yjit_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |