mirror of
https://github.com/luau-lang/luau.git
synced 2024-11-16 06:45:44 +08:00
61766a692c
* Adds a currently unused x86-64 assembler as a prerequisite for possible future JIT compilation * Fix a bug in table iteration (closes Possible table iteration bug #504) * Improved warning method when function is used as a type * Fix a bug with unsandboxed iteration with pairs() * Type of coroutine.status() is now a union of value types * Bytecode output for tests/debugging now has labels * Improvements to loop unrolling cost estimation * Report errors when the key obviously doesn't exist in the table
19 lines
302 B
C++
19 lines
302 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 <stdint.h>
|
|
|
|
namespace Luau
|
|
{
|
|
namespace CodeGen
|
|
{
|
|
|
|
struct Label
|
|
{
|
|
uint32_t id = 0;
|
|
uint32_t location = ~0u;
|
|
};
|
|
|
|
} // namespace CodeGen
|
|
} // namespace Luau
|