Index: src/arm64/lithium-codegen-arm64.cc |
diff --git a/src/arm64/lithium-codegen-arm64.cc b/src/arm64/lithium-codegen-arm64.cc |
index badd1773748e580f44b3ef3e0ba8dc71de0d4239..a249ca423b6ac7578a8eea13e8d63065c97752b8 100644 |
--- a/src/arm64/lithium-codegen-arm64.cc |
+++ b/src/arm64/lithium-codegen-arm64.cc |
@@ -2235,14 +2235,10 @@ void LCodeGen::DoCheckArrayBufferNotNeutered( |
Register view = ToRegister(instr->view()); |
Register scratch = temps.AcquireX(); |
- 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); |
} |