Fix build error in Lowering-loongarch64.cpp

This commit is contained in:
wuggy 2026-06-28 07:24:08 +01:00
commit d87ae3b6bf

View file

@ -175,10 +175,7 @@ LIRGeneratorLoongArch64::lowerTruncateFToInt32(MTruncateToInt32* ins)
void
LIRGeneratorLoongArch64::visitRandom(MRandom* ins)
{
LRandom *lir = new(alloc()) LRandom(temp(),
temp(),
temp(),
temp());
LRandom *lir = new(alloc()) LRandom(temp(), temp(), temp());
defineFixed(lir, ins, LFloatReg(ReturnDoubleReg));
}