mirror of
https://github.com/luau-lang/luau.git
synced 2024-11-15 22:35:43 +08:00
24 lines
536 B
C++
24 lines
536 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 "Luau/Common.h"
|
|
|
|
#include <vector>
|
|
|
|
#include <stdint.h>
|
|
|
|
namespace Luau
|
|
{
|
|
namespace CodeGen
|
|
{
|
|
|
|
struct IrFunction;
|
|
struct HostIrHooks;
|
|
|
|
void loadBytecodeTypeInfo(IrFunction& function);
|
|
void buildBytecodeBlocks(IrFunction& function, const std::vector<uint8_t>& jumpTargets);
|
|
void analyzeBytecodeTypes(IrFunction& function, const HostIrHooks& hostHooks);
|
|
|
|
} // namespace CodeGen
|
|
} // namespace Luau
|