Index: src/full-codegen/arm64/full-codegen-arm64.cc |
diff --git a/src/full-codegen/arm64/full-codegen-arm64.cc b/src/full-codegen/arm64/full-codegen-arm64.cc |
index b357bef3a18df468b88a281cb2494c5aa1bec4c4..e930a8e99019dd516ab3bd0d24dffc36c5ed66c2 100644 |
--- a/src/full-codegen/arm64/full-codegen-arm64.cc |
+++ b/src/full-codegen/arm64/full-codegen-arm64.cc |
@@ -2989,37 +2989,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. |
- __ Ldr(x2, MemOperand(fp, StandardFrameConstants::kCallerFPOffset)); |
- |
- // Skip the arguments adaptor frame if it exists. |
- Label check_frame_marker; |
- __ Ldr(x1, MemOperand(x2, StandardFrameConstants::kContextOffset)); |
- __ Cmp(x1, Smi::FromInt(StackFrame::ARGUMENTS_ADAPTOR)); |
- __ B(ne, &check_frame_marker); |
- __ Ldr(x2, MemOperand(x2, StandardFrameConstants::kCallerFPOffset)); |
- |
- // Check the marker in the calling frame. |
- __ Bind(&check_frame_marker); |
- __ Ldr(x1, MemOperand(x2, StandardFrameConstants::kMarkerOffset)); |
- __ Cmp(x1, Smi::FromInt(StackFrame::CONSTRUCT)); |
- PrepareForBailoutBeforeSplit(expr, true, if_true, if_false); |
- Split(eq, 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); |