summaryrefslogtreecommitdiff
path: root/ujit_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'ujit_core.h')
-rw-r--r--ujit_core.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ujit_core.h b/ujit_core.h
index 08fdd4d779..9430269438 100644
--- a/ujit_core.h
+++ b/ujit_core.h
@@ -31,9 +31,12 @@ typedef struct CtxStruct
// T_NONE==0 is the unknown type
uint8_t temp_types[MAX_TEMP_TYPES];
- // Number of values pushed on the temporary stack
+ // Number of values currently on the temporary stack
uint16_t stack_size;
+ // Offset of the JIT SP relative to the interpreter SP
+ int16_t sp_offset;
+
// Whether we know self is a heap object
bool self_is_object : 1;