Index: src/full-codegen/x64/full-codegen-x64.cc |
diff --git a/src/full-codegen/x64/full-codegen-x64.cc b/src/full-codegen/x64/full-codegen-x64.cc |
index 8225a8a46263fabbbcd457ba767005261245d8e6..39a826c4091609127f4aaf874f297fed488a241f 100644 |
--- a/src/full-codegen/x64/full-codegen-x64.cc |
+++ b/src/full-codegen/x64/full-codegen-x64.cc |
@@ -3145,37 +3145,6 @@ void FullCodeGenerator::EmitIsJSProxy(CallRuntime* expr) { |
} |
-void FullCodeGenerator::EmitIsConstructCall(CallRuntime* expr) { |
- DCHECK(expr->arguments()->length() == 0); |
- |
- Label materialize_true, materialize_false; |
- Label* if_true = NULL; |
- Label* if_false = NULL; |
- Label* fall_through = NULL; |
- context()->PrepareTest(&materialize_true, &materialize_false, |
- &if_true, &if_false, &fall_through); |
- |
- // Get the frame pointer for the calling frame. |
- __ movp(rax, Operand(rbp, StandardFrameConstants::kCallerFPOffset)); |
- |
- // Skip the arguments adaptor frame if it exists. |
- Label check_frame_marker; |
- __ Cmp(Operand(rax, StandardFrameConstants::kContextOffset), |
- Smi::FromInt(StackFrame::ARGUMENTS_ADAPTOR)); |
- __ j(not_equal, &check_frame_marker); |
- __ movp(rax, Operand(rax, StandardFrameConstants::kCallerFPOffset)); |
- |
- // Check the marker in the calling frame. |
- __ bind(&check_frame_marker); |
- __ Cmp(Operand(rax, StandardFrameConstants::kMarkerOffset), |
- Smi::FromInt(StackFrame::CONSTRUCT)); |
- PrepareForBailoutBeforeSplit(expr, true, if_true, if_false); |
- Split(equal, if_true, if_false, fall_through); |
- |
- context()->Plug(if_true, if_false); |
-} |
- |
- |
void FullCodeGenerator::EmitObjectEquals(CallRuntime* expr) { |
ZoneList<Expression*>* args = expr->arguments(); |
DCHECK(args->length() == 2); |