Index: src/ppc/lithium-codegen-ppc.cc |
diff --git a/src/ppc/lithium-codegen-ppc.cc b/src/ppc/lithium-codegen-ppc.cc |
index c34718bad5b86b04cb897174a1936ca973de3eaa..6ef5b58988bbb6e855820508785cb0b490199d24 100644 |
--- a/src/ppc/lithium-codegen-ppc.cc |
+++ b/src/ppc/lithium-codegen-ppc.cc |
@@ -5433,9 +5433,9 @@ void LCodeGen::DoCheckArrayBufferNotNeutered( |
Label has_no_buffer; |
__ LoadP(scratch, FieldMemOperand(view, JSArrayBufferView::kBufferOffset)); |
__ JumpIfSmi(scratch, &has_no_buffer); |
- __ LoadP(scratch, FieldMemOperand(scratch, JSArrayBuffer::kBitFieldOffset)); |
+ __ lwz(scratch, FieldMemOperand(scratch, JSArrayBuffer::kBitFieldOffset)); |
__ andi(r0, scratch, Operand(1 << JSArrayBuffer::WasNeutered::kShift)); |
- DeoptimizeIf(ne, instr, Deoptimizer::kOutOfBounds); |
+ DeoptimizeIf(ne, instr, Deoptimizer::kOutOfBounds, cr0); |
__ bind(&has_no_buffer); |
} |