diff options
Diffstat (limited to 'src/lj_bc.h')
-rw-r--r-- | src/lj_bc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lj_bc.h b/src/lj_bc.h index 3f0563e4..0c7249b3 100644 --- a/src/lj_bc.h +++ b/src/lj_bc.h | |||
@@ -255,6 +255,11 @@ static LJ_AINLINE int bc_isret(BCOp op) | |||
255 | return (op == BC_RETM || op == BC_RET || op == BC_RET0 || op == BC_RET1); | 255 | return (op == BC_RETM || op == BC_RET || op == BC_RET0 || op == BC_RET1); |
256 | } | 256 | } |
257 | 257 | ||
258 | static LJ_AINLINE int bc_isret_or_tail(BCOp op) | ||
259 | { | ||
260 | return (op == BC_CALLMT || op == BC_CALLT || bc_isret(op)); | ||
261 | } | ||
262 | |||
258 | LJ_DATA const uint16_t lj_bc_mode[]; | 263 | LJ_DATA const uint16_t lj_bc_mode[]; |
259 | LJ_DATA const uint16_t lj_bc_ofs[]; | 264 | LJ_DATA const uint16_t lj_bc_ofs[]; |
260 | 265 | ||