Index: src/x87/lithium-codegen-x87.cc |
diff --git a/src/x87/lithium-codegen-x87.cc b/src/x87/lithium-codegen-x87.cc |
index fd2d3bba7e37709dcdd5b23095b83f588dbfe4b3..af118d5edfed23dbd0765b800e567bf5ce56347a 100644 |
--- a/src/x87/lithium-codegen-x87.cc |
+++ b/src/x87/lithium-codegen-x87.cc |
@@ -5497,14 +5497,10 @@ void LCodeGen::DoCheckArrayBufferNotNeutered( |
Register view = ToRegister(instr->view()); |
Register scratch = ToRegister(instr->scratch()); |
- Label has_no_buffer; |
__ mov(scratch, FieldOperand(view, JSArrayBufferView::kBufferOffset)); |
- __ JumpIfSmi(scratch, &has_no_buffer); |
__ test_b(FieldOperand(scratch, JSArrayBuffer::kBitFieldOffset), |
1 << JSArrayBuffer::WasNeutered::kShift); |
DeoptimizeIf(not_zero, instr, Deoptimizer::kOutOfBounds); |
- |
- __ bind(&has_no_buffer); |
} |