mirror of
https://github.com/luau-lang/luau.git
synced 2024-11-15 14:25:44 +08:00
g++ build fix
This commit is contained in:
parent
d70df6362e
commit
d071e410ce
@ -496,7 +496,7 @@ void AssemblyBuilderA64::fcmpz(RegisterA64 src)
|
||||
{
|
||||
LUAU_ASSERT(src.kind == KindA64::d);
|
||||
|
||||
placeFCMP("fcmp", src, {src.kind, 0}, 0b11110'01'1, 0b01);
|
||||
placeFCMP("fcmp", src, RegisterA64{src.kind, 0}, 0b11110'01'1, 0b01);
|
||||
}
|
||||
|
||||
void AssemblyBuilderA64::fcsel(RegisterA64 dst, RegisterA64 src1, RegisterA64 src2, ConditionA64 cond)
|
||||
|
@ -55,7 +55,7 @@ RegisterA64 IrRegAllocA64::allocReg(KindA64 kind)
|
||||
int index = setBit(set.free);
|
||||
set.free &= ~(1u << index);
|
||||
|
||||
return {kind, uint8_t(index)};
|
||||
return RegisterA64{kind, uint8_t(index)};
|
||||
}
|
||||
|
||||
RegisterA64 IrRegAllocA64::allocTemp(KindA64 kind)
|
||||
@ -73,7 +73,7 @@ RegisterA64 IrRegAllocA64::allocTemp(KindA64 kind)
|
||||
set.free &= ~(1u << index);
|
||||
set.temp |= 1u << index;
|
||||
|
||||
return {kind, uint8_t(index)};
|
||||
return RegisterA64{kind, uint8_t(index)};
|
||||
}
|
||||
|
||||
RegisterA64 IrRegAllocA64::allocReuse(KindA64 kind, uint32_t index, std::initializer_list<IrOp> oprefs)
|
||||
|
Loading…
Reference in New Issue
Block a user