Index: src/crankshaft/mips64/lithium-codegen-mips64.cc |
diff --git a/src/crankshaft/mips64/lithium-codegen-mips64.cc b/src/crankshaft/mips64/lithium-codegen-mips64.cc |
index 280b00cd840ff83b93704b384c1f4d5b5ff19b96..f49fa9ffc9cf4ed8cf34e66a3523301c87035e51 100644 |
--- a/src/crankshaft/mips64/lithium-codegen-mips64.cc |
+++ b/src/crankshaft/mips64/lithium-codegen-mips64.cc |
@@ -2536,9 +2536,9 @@ void LCodeGen::DoHasInPrototypeChainAndBranch( |
Operand(JS_PROXY_TYPE)); |
__ ld(object_prototype, FieldMemOperand(object_map, Map::kPrototypeOffset)); |
- EmitTrueBranch(instr, eq, object_prototype, Operand(prototype)); |
__ LoadRoot(at, Heap::kNullValueRootIndex); |
EmitFalseBranch(instr, eq, object_prototype, Operand(at)); |
+ EmitTrueBranch(instr, eq, object_prototype, Operand(prototype)); |
__ Branch(&loop, USE_DELAY_SLOT); |
__ ld(object_map, FieldMemOperand(object_prototype, |
HeapObject::kMapOffset)); // In delay slot. |