diff options
Diffstat (limited to 'src/lj_jit.h')
-rw-r--r-- | src/lj_jit.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lj_jit.h b/src/lj_jit.h index 92054e3d..2fa8efc4 100644 --- a/src/lj_jit.h +++ b/src/lj_jit.h | |||
@@ -158,6 +158,12 @@ typedef uint8_t MCode; | |||
158 | typedef uint32_t MCode; | 158 | typedef uint32_t MCode; |
159 | #endif | 159 | #endif |
160 | 160 | ||
161 | /* Linked list of MCode areas. */ | ||
162 | typedef struct MCLink { | ||
163 | MCode *next; /* Next area. */ | ||
164 | size_t size; /* Size of current area. */ | ||
165 | } MCLink; | ||
166 | |||
161 | /* Stack snapshot header. */ | 167 | /* Stack snapshot header. */ |
162 | typedef struct SnapShot { | 168 | typedef struct SnapShot { |
163 | uint16_t mapofs; /* Offset into snapshot map. */ | 169 | uint16_t mapofs; /* Offset into snapshot map. */ |