mirror of
https://github.com/love2d/megasource.git
synced 2026-08-19 20:20:11 +02:00
update LuaJIT to LuaJIT/LuaJIT@68354f4
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
** Bytecode instruction format.
|
||||
** Copyright (C) 2005-2023 Mike Pall. See Copyright Notice in luajit.h
|
||||
** Copyright (C) 2005-2025 Mike Pall. See Copyright Notice in luajit.h
|
||||
*/
|
||||
|
||||
#ifndef _LJ_BC_H
|
||||
@@ -259,6 +259,11 @@ static LJ_AINLINE int bc_isret(BCOp op)
|
||||
return (op == BC_RETM || op == BC_RET || op == BC_RET0 || op == BC_RET1);
|
||||
}
|
||||
|
||||
static LJ_AINLINE int bc_isret_or_tail(BCOp op)
|
||||
{
|
||||
return (op == BC_CALLMT || op == BC_CALLT || bc_isret(op));
|
||||
}
|
||||
|
||||
LJ_DATA const uint16_t lj_bc_mode[];
|
||||
LJ_DATA const uint16_t lj_bc_ofs[];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user