Index: src/crankshaft/ia32/lithium-codegen-ia32.cc |
diff --git a/src/crankshaft/ia32/lithium-codegen-ia32.cc b/src/crankshaft/ia32/lithium-codegen-ia32.cc |
index a0572a6d7c8eca55c6bb2e41dc887c924de7d1a3..50c7e94999e9aa7c69bf91a41e2c7bc4d0bbd4f5 100644 |
--- a/src/crankshaft/ia32/lithium-codegen-ia32.cc |
+++ b/src/crankshaft/ia32/lithium-codegen-ia32.cc |
@@ -5297,32 +5297,6 @@ Condition LCodeGen::EmitTypeofIs(LTypeofIsAndBranch* instr, Register input) { |
} |
-void LCodeGen::DoIsConstructCallAndBranch(LIsConstructCallAndBranch* instr) { |
- Register temp = ToRegister(instr->temp()); |
- |
- EmitIsConstructCall(temp); |
- EmitBranch(instr, equal); |
-} |
- |
- |
-void LCodeGen::EmitIsConstructCall(Register temp) { |
- // Get the frame pointer for the calling frame. |
- __ mov(temp, Operand(ebp, StandardFrameConstants::kCallerFPOffset)); |
- |
- // Skip the arguments adaptor frame if it exists. |
- Label check_frame_marker; |
- __ cmp(Operand(temp, StandardFrameConstants::kContextOffset), |
- Immediate(Smi::FromInt(StackFrame::ARGUMENTS_ADAPTOR))); |
- __ j(not_equal, &check_frame_marker, Label::kNear); |
- __ mov(temp, Operand(temp, StandardFrameConstants::kCallerFPOffset)); |
- |
- // Check the marker in the calling frame. |
- __ bind(&check_frame_marker); |
- __ cmp(Operand(temp, StandardFrameConstants::kMarkerOffset), |
- Immediate(Smi::FromInt(StackFrame::CONSTRUCT))); |
-} |
- |
- |
void LCodeGen::EnsureSpaceForLazyDeopt(int space_needed) { |
if (info()->ShouldEnsureSpaceForLazyDeopt()) { |
// Ensure that we have enough space after the previous lazy-bailout |