luau/CodeGen/src/CodeGenUtils.h

21 lines
562 B
C
Raw Normal View History

2022-10-27 23:22:49 +01:00
// This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details
#pragma once
#include "lobject.h"
namespace Luau
{
namespace CodeGen
{
bool forgLoopNodeIter(lua_State* L, Table* h, int index, TValue* ra);
bool forgLoopNonTableFallback(lua_State* L, int insnA, int aux);
void forgPrepXnextFallback(lua_State* L, TValue* ra, int pc);
2022-11-04 17:02:37 +00:00
Closure* callProlog(lua_State* L, TValue* ra, StkId argtop, int nresults);
void callEpilogC(lua_State* L, int nresults, int n);
2022-10-27 23:22:49 +01:00
} // namespace CodeGen
} // namespace Luau