Index: src/ppc/lithium-codegen-ppc.cc |
diff --git a/src/ppc/lithium-codegen-ppc.cc b/src/ppc/lithium-codegen-ppc.cc |
index 207075534c32ce0e32851eb5a1b3708ed9157f29..f6147c2196eef20480bbcc2ab3bc485b0603d751 100644 |
--- a/src/ppc/lithium-codegen-ppc.cc |
+++ b/src/ppc/lithium-codegen-ppc.cc |
@@ -2885,7 +2885,7 @@ void LCodeGen::DoInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr) { |
Register map = temp; |
__ LoadP(map, FieldMemOperand(object, HeapObject::kMapOffset)); |
{ |
- // Block constant pool emission to ensure the positions of instructions are |
+ // Block trampoline emission to ensure the positions of instructions are |
// as expected by the patcher. See InstanceofStub::Generate(). |
Assembler::BlockTrampolinePoolScope block_trampoline_pool(masm_); |
__ bind(deferred->map_check()); // Label for calculating code patching. |
@@ -2896,7 +2896,7 @@ void LCodeGen::DoInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr) { |
__ mov(ip, Operand(cell)); |
__ LoadP(ip, FieldMemOperand(ip, Cell::kValueOffset)); |
__ cmp(map, ip); |
- __ bne(&cache_miss); |
+ __ bc_short(ne, &cache_miss); |
// We use Factory::the_hole_value() on purpose instead of loading from the |
// root array to force relocation to be able to later patch |
// with true or false. |