Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Roblox
GitHub Repository: Roblox/luau
Path: blob/master/CodeGen/include/Luau/BytecodeAnalysis.h
2727 views
1
// This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details
2
#pragma once
3
4
#include "Luau/Common.h"
5
6
#include <vector>
7
8
#include <stdint.h>
9
10
namespace Luau
11
{
12
namespace CodeGen
13
{
14
15
struct IrFunction;
16
struct HostIrHooks;
17
18
void loadBytecodeTypeInfo(IrFunction& function);
19
void buildBytecodeBlocks(IrFunction& function, const std::vector<uint8_t>& jumpTargets);
20
void analyzeBytecodeTypes(IrFunction& function, const HostIrHooks& hostHooks);
21
22
} // namespace CodeGen
23
} // namespace Luau
24
25