| Index: src/mips/lithium-codegen-mips.cc
|
| diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc
|
| index 2abde16a40b3a2e3efe092081cbcc82cafa139c7..0ba0bdb3a08f84be3ad9e6f379ff51b22c51cf89 100644
|
| --- a/src/mips/lithium-codegen-mips.cc
|
| +++ b/src/mips/lithium-codegen-mips.cc
|
| @@ -2104,7 +2104,7 @@ void LCodeGen::EmitBranchF(InstrType instr,
|
| EmitGoto(left_block);
|
| } else if (left_block == next_block) {
|
| __ BranchF(chunk_->GetAssemblyLabel(right_block), NULL,
|
| - NegateCondition(condition), src1, src2);
|
| + NegateFpuCondition(condition), src1, src2);
|
| } else if (right_block == next_block) {
|
| __ BranchF(chunk_->GetAssemblyLabel(left_block), NULL,
|
| condition, src1, src2);
|
| @@ -2152,7 +2152,7 @@ void LCodeGen::DoBranch(LBranch* instr) {
|
| DCHECK(!info()->IsStub());
|
| DoubleRegister reg = ToDoubleRegister(instr->value());
|
| // Test the double value. Zero and NaN are false.
|
| - EmitBranchF(instr, nue, reg, kDoubleRegZero);
|
| + EmitBranchF(instr, ogl, reg, kDoubleRegZero);
|
| } else {
|
| DCHECK(r.IsTagged());
|
| Register reg = ToRegister(instr->value());
|
| @@ -2172,7 +2172,7 @@ void LCodeGen::DoBranch(LBranch* instr) {
|
| DoubleRegister dbl_scratch = double_scratch0();
|
| __ ldc1(dbl_scratch, FieldMemOperand(reg, HeapNumber::kValueOffset));
|
| // Test the double value. Zero and NaN are false.
|
| - EmitBranchF(instr, nue, dbl_scratch, kDoubleRegZero);
|
| + EmitBranchF(instr, ogl, dbl_scratch, kDoubleRegZero);
|
| } else if (type.IsString()) {
|
| DCHECK(!info()->IsStub());
|
| __ lw(at, FieldMemOperand(reg, String::kLengthOffset));
|
|
|