luau/CodeGen/include/Luau/OptimizeConstProp.h

18 lines
396 B
C
Raw Normal View History

2023-02-25 02:24:22 +08:00
// This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details
#pragma once
#include "Luau/IrData.h"
namespace Luau
{
namespace CodeGen
{
struct IrBuilder;
2023-04-28 19:55:55 +08:00
void constPropInBlockChains(IrBuilder& build, bool useValueNumbering);
void createLinearBlocks(IrBuilder& build, bool useValueNumbering);
2023-02-25 02:24:22 +08:00
} // namespace CodeGen
} // namespace Luau