summaryrefslogtreecommitdiff
path: root/yjit_codegen.h
diff options
context:
space:
mode:
Diffstat (limited to 'yjit_codegen.h')
-rw-r--r--yjit_codegen.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/yjit_codegen.h b/yjit_codegen.h
index 896704d866..683765319e 100644
--- a/yjit_codegen.h
+++ b/yjit_codegen.h
@@ -20,6 +20,9 @@ typedef struct JITState
// Index of the current instruction being compiled
uint32_t insn_idx;
+ // Opcode for the instruction being compiled
+ int opcode;
+
// PC of the instruction being compiled
VALUE *pc;