summaryrefslogtreecommitdiff
path: root/yjit_codegen.h
diff options
context:
space:
mode:
authorMaxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>2021-09-22 16:16:26 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:41 -0400
commit0c1aa17556357ca3cb5802d7a23965ed820973e4 (patch)
tree0b3bf50eed618265a6e70db093b925331c923433 /yjit_codegen.h
parent78b5e95e41cefd36702c37293bab95fdede38369 (diff)
Remove a few more uses of the global cb/ocb
Diffstat (limited to 'yjit_codegen.h')
-rw-r--r--yjit_codegen.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/yjit_codegen.h b/yjit_codegen.h
index 75edcc8da8..6d5fc27479 100644
--- a/yjit_codegen.h
+++ b/yjit_codegen.h
@@ -18,7 +18,7 @@ typedef enum codegen_status {
// Code generation function signature
typedef codegen_status_t (*codegen_fn)(jitstate_t* jit, ctx_t* ctx, codeblock_t* cb);
-uint8_t* yjit_entry_prologue(const rb_iseq_t* iseq);
+uint8_t* yjit_entry_prologue(codeblock_t* cb, const rb_iseq_t* iseq);
void yjit_gen_block(block_t* block, rb_execution_context_t* ec);