summaryrefslogtreecommitdiff
path: root/src/lj_target_x86.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_target_x86.h')
-rw-r--r--src/lj_target_x86.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lj_target_x86.h b/src/lj_target_x86.h
index 5c24761e..fd2a32fe 100644
--- a/src/lj_target_x86.h
+++ b/src/lj_target_x86.h
@@ -147,6 +147,10 @@ typedef struct {
147 int32_t spill[256]; /* Spill slots. */ 147 int32_t spill[256]; /* Spill slots. */
148} ExitState; 148} ExitState;
149 149
150/* Limited by the range of a short fwd jump (127): (2+2)*(32-1)-2 = 122. */
151#define EXITSTUB_SPACING (2+2)
152#define EXITSTUBS_PER_GROUP 32
153
150/* -- x86 ModRM operand encoding ------------------------------------------ */ 154/* -- x86 ModRM operand encoding ------------------------------------------ */
151 155
152typedef enum { 156typedef enum {