Bug 1209553 - IonMonkey: MIPS: Add suffix 'f' for constant float32. r=arai

---
 js/src/jit/mips-shared/CodeGenerator-mips-shared.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
This commit is contained in:
Heiher 2015-09-30 07:26:59 +08:00
parent 679e168b51
commit 7c860300da

View File

@ -1094,9 +1094,9 @@ CodeGeneratorMIPSShared::visitCeilF(LCeilF* lir)
Label performCeil, done;
// If x < -1 or x > 0 then perform ceil.
masm.loadConstantFloat32(0, scratch);
masm.loadConstantFloat32(0.0f, scratch);
masm.branchFloat(Assembler::DoubleGreaterThan, input, scratch, &performCeil);
masm.loadConstantFloat32(-1, scratch);
masm.loadConstantFloat32(-1.0f, scratch);
masm.branchFloat(Assembler::DoubleLessThanOrEqual, input, scratch, &performCeil);
// If binary value is not zero, the input was not 0, so we bail.