diff options
author | Mike Pall <mike> | 2017-06-07 19:36:46 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2017-06-07 19:36:46 +0200 |
commit | c7c3c4da432ddb543d4b0a9abbb245f11b26afd0 (patch) | |
tree | d153382bd0121bb289984d4270bd8f8cc9926144 /src/lj_jit.h | |
parent | 7381b620358c2561e8690149f1d25828fdad6675 (diff) | |
download | luajit-c7c3c4da432ddb543d4b0a9abbb245f11b26afd0.tar.gz luajit-c7c3c4da432ddb543d4b0a9abbb245f11b26afd0.tar.bz2 luajit-c7c3c4da432ddb543d4b0a9abbb245f11b26afd0.zip |
MIPS: Fix handling of spare long-range jump slots.
Contributed by Djordje Kovacevic and Stefan Pejic.
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 a2e8fd92..3f38d289 100644 --- a/src/lj_jit.h +++ b/src/lj_jit.h | |||
@@ -155,6 +155,12 @@ typedef uint8_t MCode; | |||
155 | typedef uint32_t MCode; | 155 | typedef uint32_t MCode; |
156 | #endif | 156 | #endif |
157 | 157 | ||
158 | /* Linked list of MCode areas. */ | ||
159 | typedef struct MCLink { | ||
160 | MCode *next; /* Next area. */ | ||
161 | size_t size; /* Size of current area. */ | ||
162 | } MCLink; | ||
163 | |||
158 | /* Stack snapshot header. */ | 164 | /* Stack snapshot header. */ |
159 | typedef struct SnapShot { | 165 | typedef struct SnapShot { |
160 | uint16_t mapofs; /* Offset into snapshot map. */ | 166 | uint16_t mapofs; /* Offset into snapshot map. */ |