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 a94ea4e4..53b3e501 100644 --- a/src/lj_bc.h +++ b/src/lj_bc.h | |||
@@ -259,6 +259,11 @@ static LJ_AINLINE int bc_isret(BCOp op) | |||
259 | return (op == BC_RETM || op == BC_RET || op == BC_RET0 || op == BC_RET1); | 259 | return (op == BC_RETM || op == BC_RET || op == BC_RET0 || op == BC_RET1); |
260 | } | 260 | } |
261 | 261 | ||
262 | static LJ_AINLINE int bc_isret_or_tail(BCOp op) | ||
263 | { | ||
264 | return (op == BC_CALLMT || op == BC_CALLT || bc_isret(op)); | ||
265 | } | ||
266 | |||
262 | LJ_DATA const uint16_t lj_bc_mode[]; | 267 | LJ_DATA const uint16_t lj_bc_mode[]; |
263 | LJ_DATA const uint16_t lj_bc_ofs[]; | 268 | LJ_DATA const uint16_t lj_bc_ofs[]; |
264 | 269 | ||