diff options
Diffstat (limited to 'src/lj_target.h')
-rw-r--r-- | src/lj_target.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lj_target.h b/src/lj_target.h index 410ad0a0..33feb17c 100644 --- a/src/lj_target.h +++ b/src/lj_target.h | |||
@@ -131,6 +131,7 @@ typedef uint32_t RegCost; | |||
131 | #error "Missing include for target CPU" | 131 | #error "Missing include for target CPU" |
132 | #endif | 132 | #endif |
133 | 133 | ||
134 | #ifdef EXITSTUBS_PER_GROUP | ||
134 | /* Return the address of an exit stub. */ | 135 | /* Return the address of an exit stub. */ |
135 | static LJ_AINLINE MCode *exitstub_addr(jit_State *J, ExitNo exitno) | 136 | static LJ_AINLINE MCode *exitstub_addr(jit_State *J, ExitNo exitno) |
136 | { | 137 | { |
@@ -138,5 +139,6 @@ static LJ_AINLINE MCode *exitstub_addr(jit_State *J, ExitNo exitno) | |||
138 | return (MCode *)((char *)J->exitstubgroup[exitno / EXITSTUBS_PER_GROUP] + | 139 | return (MCode *)((char *)J->exitstubgroup[exitno / EXITSTUBS_PER_GROUP] + |
139 | EXITSTUB_SPACING*(exitno % EXITSTUBS_PER_GROUP)); | 140 | EXITSTUB_SPACING*(exitno % EXITSTUBS_PER_GROUP)); |
140 | } | 141 | } |
142 | #endif | ||
141 | 143 | ||
142 | #endif | 144 | #endif |