aboutsummaryrefslogtreecommitdiff
path: root/src/lj_jit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_jit.h')
-rw-r--r--src/lj_jit.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lj_jit.h b/src/lj_jit.h
index 3f38d289..0bc62583 100644
--- a/src/lj_jit.h
+++ b/src/lj_jit.h
@@ -163,7 +163,7 @@ typedef struct MCLink {
163 163
164/* Stack snapshot header. */ 164/* Stack snapshot header. */
165typedef struct SnapShot { 165typedef struct SnapShot {
166 uint16_t mapofs; /* Offset into snapshot map. */ 166 uint32_t mapofs; /* Offset into snapshot map. */
167 IRRef1 ref; /* First IR ref for this snapshot. */ 167 IRRef1 ref; /* First IR ref for this snapshot. */
168 uint8_t nslots; /* Number of valid slots. */ 168 uint8_t nslots; /* Number of valid slots. */
169 uint8_t topslot; /* Maximum frame extent. */ 169 uint8_t topslot; /* Maximum frame extent. */
@@ -217,14 +217,12 @@ typedef enum {
217/* Trace object. */ 217/* Trace object. */
218typedef struct GCtrace { 218typedef struct GCtrace {
219 GCHeader; 219 GCHeader;
220 uint8_t topslot; /* Top stack slot already checked to be allocated. */ 220 uint16_t nsnap; /* Number of snapshots. */
221 uint8_t linktype; /* Type of link. */
222 IRRef nins; /* Next IR instruction. Biased with REF_BIAS. */ 221 IRRef nins; /* Next IR instruction. Biased with REF_BIAS. */
223 GCRef gclist; 222 GCRef gclist;
224 IRIns *ir; /* IR instructions/constants. Biased with REF_BIAS. */ 223 IRIns *ir; /* IR instructions/constants. Biased with REF_BIAS. */
225 IRRef nk; /* Lowest IR constant. Biased with REF_BIAS. */ 224 IRRef nk; /* Lowest IR constant. Biased with REF_BIAS. */
226 uint16_t nsnap; /* Number of snapshots. */ 225 uint32_t nsnapmap; /* Number of snapshot map elements. */
227 uint16_t nsnapmap; /* Number of snapshot map elements. */
228 SnapShot *snap; /* Snapshot array. */ 226 SnapShot *snap; /* Snapshot array. */
229 SnapEntry *snapmap; /* Snapshot map. */ 227 SnapEntry *snapmap; /* Snapshot map. */
230 GCRef startpt; /* Starting prototype. */ 228 GCRef startpt; /* Starting prototype. */
@@ -241,6 +239,8 @@ typedef struct GCtrace {
241 TraceNo1 nextroot; /* Next root trace for same prototype. */ 239 TraceNo1 nextroot; /* Next root trace for same prototype. */
242 TraceNo1 nextside; /* Next side trace of same root trace. */ 240 TraceNo1 nextside; /* Next side trace of same root trace. */
243 uint8_t sinktags; /* Trace has SINK tags. */ 241 uint8_t sinktags; /* Trace has SINK tags. */
242 uint8_t topslot; /* Top stack slot already checked to be allocated. */
243 uint8_t linktype; /* Type of link. */
244 uint8_t unused1; 244 uint8_t unused1;
245#ifdef LUAJIT_USE_GDBJIT 245#ifdef LUAJIT_USE_GDBJIT
246 void *gdbjit_entry; /* GDB JIT entry. */ 246 void *gdbjit_entry; /* GDB JIT entry. */