mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Commit forgotten lines
This commit is contained in:
parent
574e9a7eca
commit
be6647304e
1 changed files with 2 additions and 0 deletions
|
@ -606,6 +606,8 @@ void translateInstMinus(IrBuilder& build, const Instruction* pc, int pcpos)
|
||||||
|
|
||||||
IrOp vb = build.inst(IrCmd::LOAD_TVALUE, build.vmReg(rb));
|
IrOp vb = build.inst(IrCmd::LOAD_TVALUE, build.vmReg(rb));
|
||||||
IrOp va = build.inst(IrCmd::UNM_VEC, vb);
|
IrOp va = build.inst(IrCmd::UNM_VEC, vb);
|
||||||
|
if (FFlag::LuauCodegenVectorTag)
|
||||||
|
va = build.inst(IrCmd::TAG_VECTOR, va);
|
||||||
build.inst(IrCmd::STORE_TVALUE, build.vmReg(ra), va);
|
build.inst(IrCmd::STORE_TVALUE, build.vmReg(ra), va);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue