2022-10-14 20:48:41 +01:00
|
|
|
// This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace Luau
|
|
|
|
{
|
|
|
|
namespace CodeGen
|
|
|
|
{
|
|
|
|
|
|
|
|
struct Label;
|
2023-03-03 20:21:14 +00:00
|
|
|
struct IrOp;
|
|
|
|
|
|
|
|
namespace X64
|
|
|
|
{
|
|
|
|
|
|
|
|
class AssemblyBuilderX64;
|
2022-10-14 20:48:41 +01:00
|
|
|
struct OperandX64;
|
2023-03-03 20:21:14 +00:00
|
|
|
struct IrRegAllocX64;
|
2022-10-14 20:48:41 +01:00
|
|
|
|
2023-04-28 20:55:13 +01:00
|
|
|
void emitBuiltin(IrRegAllocX64& regs, AssemblyBuilderX64& build, int bfid, int ra, int arg, OperandX64 arg2, int nparams, int nresults);
|
2022-10-14 20:48:41 +01:00
|
|
|
|
2023-03-03 20:21:14 +00:00
|
|
|
} // namespace X64
|
2022-10-14 20:48:41 +01:00
|
|
|
} // namespace CodeGen
|
|
|
|
} // namespace Luau
|