diff --git a/js/src/jit/mips-shared/Lowering-mips-shared.cpp b/js/src/jit/mips-shared/Lowering-mips-shared.cpp index 45b26a824539..4d52e0a515a8 100644 --- a/js/src/jit/mips-shared/Lowering-mips-shared.cpp +++ b/js/src/jit/mips-shared/Lowering-mips-shared.cpp @@ -411,14 +411,3 @@ LIRGeneratorMIPSShared::visitAtomicTypedArrayElementBinop(MAtomicTypedArrayEleme { MOZ_CRASH("NYI"); } - -void -LIRGeneratorMIPSShared::visitRandom(MRandom* ins) -{ - LRandom *lir = new(alloc()) LRandom(temp(), - temp(), - temp(), - temp(), - temp()); - defineFixed(lir, ins, LFloatReg(ReturnDoubleReg)); -} diff --git a/js/src/jit/mips-shared/Lowering-mips-shared.h b/js/src/jit/mips-shared/Lowering-mips-shared.h index adc1c857838b..847cb672bd1f 100644 --- a/js/src/jit/mips-shared/Lowering-mips-shared.h +++ b/js/src/jit/mips-shared/Lowering-mips-shared.h @@ -89,7 +89,6 @@ class LIRGeneratorMIPSShared : public LIRGeneratorShared void visitAtomicExchangeTypedArrayElement(MAtomicExchangeTypedArrayElement* ins); void visitAtomicTypedArrayElementBinop(MAtomicTypedArrayElementBinop* ins); void visitSubstr(MSubstr* ins); - void visitRandom(MRandom* ins); }; } // namespace jit diff --git a/js/src/jit/mips32/Lowering-mips32.h b/js/src/jit/mips32/Lowering-mips32.h index eced5aaf7a18..2871e83624f2 100644 --- a/js/src/jit/mips32/Lowering-mips32.h +++ b/js/src/jit/mips32/Lowering-mips32.h @@ -39,6 +39,7 @@ class LIRGeneratorMIPS : public LIRGeneratorMIPSShared void visitBox(MBox* box); void visitUnbox(MUnbox* unbox); void visitReturn(MReturn* ret); + void visitRandom(MRandom* ins); }; typedef LIRGeneratorMIPS LIRGeneratorSpecific;