Index: src/full-codegen/mips64/full-codegen-mips64.cc |
diff --git a/src/full-codegen/mips64/full-codegen-mips64.cc b/src/full-codegen/mips64/full-codegen-mips64.cc |
index e167359c9f4514eca28d347098bf77e1a490a09d..d78b0c4a6d555231a478d964003e7d4b0512ba97 100644 |
--- a/src/full-codegen/mips64/full-codegen-mips64.cc |
+++ b/src/full-codegen/mips64/full-codegen-mips64.cc |
@@ -4959,7 +4959,8 @@ void FullCodeGenerator::EmitLiteralCompareNil(CompareOperation* expr, |
} else { |
Handle<Code> ic = CompareNilICStub::GetUninitialized(isolate(), nil); |
CallIC(ic, expr->CompareOperationFeedbackId()); |
- Split(ne, v0, Operand(zero_reg), if_true, if_false, fall_through); |
+ __ LoadRoot(a1, Heap::kTrueValueRootIndex); |
+ Split(eq, v0, Operand(a1), if_true, if_false, fall_through); |
} |
context()->Plug(if_true, if_false); |
} |