summaryrefslogtreecommitdiff
path: root/yjit_codegen.h
diff options
context:
space:
mode:
authorMaxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>2021-09-21 14:04:02 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:41 -0400
commitc55d4cafc241706d1255d8609d3d7c6f04d0706a (patch)
treed7ce1eaef56febf34b5d4a7771add3ab2a72ec02 /yjit_codegen.h
parent0385ca2e97ba29653251dba96ab8cf0f21765bb4 (diff)
Pass the global cb through codegen functions
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 16c2211656..54a8f8023f 100644
--- a/yjit_codegen.h
+++ b/yjit_codegen.h
@@ -47,7 +47,7 @@ typedef enum codegen_status {
} codegen_status_t;
// Code generation function signature
-typedef codegen_status_t (*codegen_fn)(jitstate_t* jit, ctx_t* ctx);
+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);