Index: src/crankshaft/ppc/lithium-codegen-ppc.cc |
diff --git a/src/crankshaft/ppc/lithium-codegen-ppc.cc b/src/crankshaft/ppc/lithium-codegen-ppc.cc |
index 8ab30ff8bbdd69dc7393d6806b5b1e19623aaeea..1216a44904265a6c257aff32954595304e9378ad 100644 |
--- a/src/crankshaft/ppc/lithium-codegen-ppc.cc |
+++ b/src/crankshaft/ppc/lithium-codegen-ppc.cc |
@@ -2590,10 +2590,10 @@ void LCodeGen::DoHasInPrototypeChainAndBranch( |
DeoptimizeIf(eq, instr, Deoptimizer::kProxy); |
__ LoadP(object_prototype, |
FieldMemOperand(object_map, Map::kPrototypeOffset)); |
- __ cmp(object_prototype, prototype); |
- EmitTrueBranch(instr, eq); |
__ CompareRoot(object_prototype, Heap::kNullValueRootIndex); |
EmitFalseBranch(instr, eq); |
+ __ cmp(object_prototype, prototype); |
+ EmitTrueBranch(instr, eq); |
__ LoadP(object_map, |
FieldMemOperand(object_prototype, HeapObject::kMapOffset)); |
__ b(&loop); |