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 | luajit2-c7c3c4da432ddb543d4b0a9abbb245f11b26afd0.tar.gz |
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; typedef uint32_t MCode; #endif +/* Linked list of MCode areas. */ +typedef struct MCLink { + MCode *next; /* Next area. */ + size_t size; /* Size of current area. */ +} MCLink; + /* Stack snapshot header. */ typedef struct SnapShot { uint16_t mapofs; /* Offset into snapshot map. */ |