mirror of
https://github.com/luau-lang/luau.git
synced 2024-12-14 06:00:39 +00:00
1212fdacbf
Once again, all of our changes this week are for new type solver and the JIT. In the new type solver, we fixed cyclic type alias handling and multiple stability issues. In the JIT, our main progress was for arm64, where, after lowering 36% of instructions, we start seeing first Luau functions executing natively. For x64, we performed code cleanup and refactoring to allow for future optimizations.
23 lines
694 B
C++
23 lines
694 B
C++
// 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);
|
|
|
|
Closure* callProlog(lua_State* L, TValue* ra, StkId argtop, int nresults);
|
|
void callEpilogC(lua_State* L, int nresults, int n);
|
|
|
|
Closure* callFallback(lua_State* L, StkId ra, StkId argtop, int nresults);
|
|
Closure* returnFallback(lua_State* L, StkId ra, int n);
|
|
|
|
} // namespace CodeGen
|
|
} // namespace Luau
|