diff options
Diffstat (limited to 'src/lj_jit.h')
-rw-r--r-- | src/lj_jit.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lj_jit.h b/src/lj_jit.h index f37e7927..5d41ef4b 100644 --- a/src/lj_jit.h +++ b/src/lj_jit.h | |||
@@ -166,7 +166,7 @@ typedef struct MCLink { | |||
166 | 166 | ||
167 | /* Stack snapshot header. */ | 167 | /* Stack snapshot header. */ |
168 | typedef struct SnapShot { | 168 | typedef struct SnapShot { |
169 | uint16_t mapofs; /* Offset into snapshot map. */ | 169 | uint32_t mapofs; /* Offset into snapshot map. */ |
170 | IRRef1 ref; /* First IR ref for this snapshot. */ | 170 | IRRef1 ref; /* First IR ref for this snapshot. */ |
171 | uint8_t nslots; /* Number of valid slots. */ | 171 | uint8_t nslots; /* Number of valid slots. */ |
172 | uint8_t topslot; /* Maximum frame extent. */ | 172 | uint8_t topslot; /* Maximum frame extent. */ |
@@ -233,8 +233,7 @@ typedef enum { | |||
233 | /* Trace object. */ | 233 | /* Trace object. */ |
234 | typedef struct GCtrace { | 234 | typedef struct GCtrace { |
235 | GCHeader; | 235 | GCHeader; |
236 | uint8_t topslot; /* Top stack slot already checked to be allocated. */ | 236 | uint16_t nsnap; /* Number of snapshots. */ |
237 | uint8_t linktype; /* Type of link. */ | ||
238 | IRRef nins; /* Next IR instruction. Biased with REF_BIAS. */ | 237 | IRRef nins; /* Next IR instruction. Biased with REF_BIAS. */ |
239 | #if LJ_GC64 | 238 | #if LJ_GC64 |
240 | uint32_t unused_gc64; | 239 | uint32_t unused_gc64; |
@@ -242,8 +241,7 @@ typedef struct GCtrace { | |||
242 | GCRef gclist; | 241 | GCRef gclist; |
243 | IRIns *ir; /* IR instructions/constants. Biased with REF_BIAS. */ | 242 | IRIns *ir; /* IR instructions/constants. Biased with REF_BIAS. */ |
244 | IRRef nk; /* Lowest IR constant. Biased with REF_BIAS. */ | 243 | IRRef nk; /* Lowest IR constant. Biased with REF_BIAS. */ |
245 | uint16_t nsnap; /* Number of snapshots. */ | 244 | uint32_t nsnapmap; /* Number of snapshot map elements. */ |
246 | uint16_t nsnapmap; /* Number of snapshot map elements. */ | ||
247 | SnapShot *snap; /* Snapshot array. */ | 245 | SnapShot *snap; /* Snapshot array. */ |
248 | SnapEntry *snapmap; /* Snapshot map. */ | 246 | SnapEntry *snapmap; /* Snapshot map. */ |
249 | GCRef startpt; /* Starting prototype. */ | 247 | GCRef startpt; /* Starting prototype. */ |
@@ -260,6 +258,8 @@ typedef struct GCtrace { | |||
260 | TraceNo1 nextroot; /* Next root trace for same prototype. */ | 258 | TraceNo1 nextroot; /* Next root trace for same prototype. */ |
261 | TraceNo1 nextside; /* Next side trace of same root trace. */ | 259 | TraceNo1 nextside; /* Next side trace of same root trace. */ |
262 | uint8_t sinktags; /* Trace has SINK tags. */ | 260 | uint8_t sinktags; /* Trace has SINK tags. */ |
261 | uint8_t topslot; /* Top stack slot already checked to be allocated. */ | ||
262 | uint8_t linktype; /* Type of link. */ | ||
263 | uint8_t unused1; | 263 | uint8_t unused1; |
264 | #ifdef LUAJIT_USE_GDBJIT | 264 | #ifdef LUAJIT_USE_GDBJIT |
265 | void *gdbjit_entry; /* GDB JIT entry. */ | 265 | void *gdbjit_entry; /* GDB JIT entry. */ |