mirror of
https://github.com/luau-lang/luau.git
synced 2024-12-12 21:10:37 +00: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
50 lines
3.6 KiB
XML
50 lines
3.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
|
|
|
|
<Type Name="Luau::CodeGen::RegisterX64">
|
|
<DisplayString Condition="size == Luau::CodeGen::SizeX64::none && index == 31">noreg</DisplayString>
|
|
<DisplayString Condition="size == Luau::CodeGen::SizeX64::none && index == 0">rip</DisplayString>
|
|
|
|
<DisplayString Condition="size == Luau::CodeGen::SizeX64::byte && index == 0">al</DisplayString>
|
|
<DisplayString Condition="size == Luau::CodeGen::SizeX64::byte && index == 1">cl</DisplayString>
|
|
<DisplayString Condition="size == Luau::CodeGen::SizeX64::byte && index == 2">dl</DisplayString>
|
|
<DisplayString Condition="size == Luau::CodeGen::SizeX64::byte && index == 3">bl</DisplayString>
|
|
|
|
<DisplayString Condition="size == Luau::CodeGen::SizeX64::dword && index == 0">eax</DisplayString>
|
|
<DisplayString Condition="size == Luau::CodeGen::SizeX64::dword && index == 1">ecx</DisplayString>
|
|
<DisplayString Condition="size == Luau::CodeGen::SizeX64::dword && index == 2">edx</DisplayString>
|
|
<DisplayString Condition="size == Luau::CodeGen::SizeX64::dword && index == 3">ebx</DisplayString>
|
|
<DisplayString Condition="size == Luau::CodeGen::SizeX64::dword && index == 4">esp</DisplayString>
|
|
<DisplayString Condition="size == Luau::CodeGen::SizeX64::dword && index == 5">ebp</DisplayString>
|
|
<DisplayString Condition="size == Luau::CodeGen::SizeX64::dword && index == 6">esi</DisplayString>
|
|
<DisplayString Condition="size == Luau::CodeGen::SizeX64::dword && index == 7">edi</DisplayString>
|
|
<DisplayString Condition="size == Luau::CodeGen::SizeX64::dword && index >= 8">e{(int)index,d}d</DisplayString>
|
|
|
|
<DisplayString Condition="size == Luau::CodeGen::SizeX64::qword && index == 0">rax</DisplayString>
|
|
<DisplayString Condition="size == Luau::CodeGen::SizeX64::qword && index == 1">rcx</DisplayString>
|
|
<DisplayString Condition="size == Luau::CodeGen::SizeX64::qword && index == 2">rdx</DisplayString>
|
|
<DisplayString Condition="size == Luau::CodeGen::SizeX64::qword && index == 3">rbx</DisplayString>
|
|
<DisplayString Condition="size == Luau::CodeGen::SizeX64::qword && index == 4">rsp</DisplayString>
|
|
<DisplayString Condition="size == Luau::CodeGen::SizeX64::qword && index == 5">rbp</DisplayString>
|
|
<DisplayString Condition="size == Luau::CodeGen::SizeX64::qword && index == 6">rsi</DisplayString>
|
|
<DisplayString Condition="size == Luau::CodeGen::SizeX64::qword && index == 7">rdi</DisplayString>
|
|
<DisplayString Condition="size == Luau::CodeGen::SizeX64::qword && index >= 8">r{(int)index,d}</DisplayString>
|
|
|
|
<DisplayString Condition="size == Luau::CodeGen::SizeX64::xmmword">xmm{(int)index,d}</DisplayString>
|
|
|
|
<DisplayString Condition="size == Luau::CodeGen::SizeX64::ymmword">ymm{(int)index,d}</DisplayString>
|
|
</Type>
|
|
|
|
<Type Name="Luau::CodeGen::OperandX64">
|
|
<DisplayString Condition="cat == 0">{reg}</DisplayString>
|
|
<DisplayString Condition="cat == 1">{mem.size,en} ptr[{mem.base} + {mem.index}*{(int)mem.scale,d} + {disp}]</DisplayString>
|
|
<DisplayString Condition="cat == 2">{imm}</DisplayString>
|
|
<Expand>
|
|
<ExpandedItem Condition="cat == 0">reg</ExpandedItem>
|
|
<ExpandedItem Condition="cat == 1">mem</ExpandedItem>
|
|
<ExpandedItem Condition="cat == 2">imm</ExpandedItem>
|
|
<Item Condition="cat == 1" Name="disp">disp</Item>
|
|
</Expand>
|
|
</Type>
|
|
|
|
</AutoVisualizer>
|