Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index fc33139cb01b0be2b882728f9f061a8ecc5f44e5..6447d3e39bf8790cb722247317095bd43dd03020 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -5159,14 +5159,10 @@ void LCodeGen::DoCheckArrayBufferNotNeutered( |
Register view = ToRegister(instr->view()); |
Register scratch = scratch0(); |
- Label has_no_buffer; |
__ ldr(scratch, FieldMemOperand(view, JSArrayBufferView::kBufferOffset)); |
- __ JumpIfSmi(scratch, &has_no_buffer); |
__ ldr(scratch, FieldMemOperand(scratch, JSArrayBuffer::kBitFieldOffset)); |
__ tst(scratch, Operand(1 << JSArrayBuffer::WasNeutered::kShift)); |
DeoptimizeIf(ne, instr, Deoptimizer::kOutOfBounds); |
- |
- __ bind(&has_no_buffer); |
} |