Index: src/crankshaft/x87/lithium-codegen-x87.cc |
diff --git a/src/crankshaft/x87/lithium-codegen-x87.cc b/src/crankshaft/x87/lithium-codegen-x87.cc |
index 373e27da77b980c245e39d9543273f911bc904ca..0167de94b39843bdf91df922bb06be02dac4afc1 100644 |
--- a/src/crankshaft/x87/lithium-codegen-x87.cc |
+++ b/src/crankshaft/x87/lithium-codegen-x87.cc |
@@ -5855,32 +5855,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 |