From 7f784dca23251791227eaaa6af2f115a2d3af645 Mon Sep 17 00:00:00 2001 From: Heiher Date: Wed, 16 Sep 2015 17:01:29 +0800 Subject: [PATCH] Bug 1204913 - IonMonkey: MIPS32: Fix build erros in defineSinCos. r=sunfish --- js/src/jit/shared/Lowering-shared-inl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- js/src/jit/shared/Lowering-shared-inl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/jit/shared/Lowering-shared-inl.h b/js/src/jit/shared/Lowering-shared-inl.h index 352990c1c064..c151d17efa76 100644 --- a/js/src/jit/shared/Lowering-shared-inl.h +++ b/js/src/jit/shared/Lowering-shared-inl.h @@ -186,7 +186,7 @@ LIRGeneratorShared::defineSinCos(LInstructionHelper<2, Ops, Temps> *lir, MDefini lir->setDef(0, LDefinition(vreg, LDefinition::DOUBLE, LFloatReg(ReturnDoubleReg))); #if defined(JS_CODEGEN_ARM) || defined(JS_CODEGEN_ARM64) lir->setDef(1, LDefinition(vreg + VREG_INCREMENT, LDefinition::DOUBLE, LFloatReg(d1))); -#elif defined(JS_CODEGEN_MIPS) +#elif defined(JS_CODEGEN_MIPS32) lir->setDef(1, LDefinition(vreg + VREG_INCREMENT, LDefinition::DOUBLE, LFloatReg(f2))); #elif defined(JS_CODEGEN_NONE) MOZ_CRASH();