Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index b095119a53643c08010d91a4af50b7dfb5a6d6d8..e70bebd938043890832a5bb106bca22fbf64ef06 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -5165,15 +5165,11 @@ void LCodeGen::DoCheckArrayBufferNotNeutered( |
LCheckArrayBufferNotNeutered* instr) { |
Register view = ToRegister(instr->view()); |
- Label has_no_buffer; |
__ movp(kScratchRegister, |
FieldOperand(view, JSArrayBufferView::kBufferOffset)); |
- __ JumpIfSmi(kScratchRegister, &has_no_buffer); |
__ testb(FieldOperand(kScratchRegister, JSArrayBuffer::kBitFieldOffset), |
Immediate(1 << JSArrayBuffer::WasNeutered::kShift)); |
DeoptimizeIf(not_zero, instr, Deoptimizer::kOutOfBounds); |
- |
- __ bind(&has_no_buffer); |
} |