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 76c14a7b9fcc43dd73b6e51ed724eba5c3f35de5..afe2ab6d2587f181e13c8b996c3cce4947e3190a 100644 |
--- a/src/full-codegen/arm64/full-codegen-arm64.cc |
+++ b/src/full-codegen/arm64/full-codegen-arm64.cc |
@@ -3454,6 +3454,17 @@ void FullCodeGenerator::EmitGetCachedArrayIndex(CallRuntime* expr) { |
} |
+void FullCodeGenerator::EmitGetSuperConstructor(CallRuntime* expr) { |
+ ZoneList<Expression*>* args = expr->arguments(); |
+ DCHECK_EQ(1, args->length()); |
+ VisitForAccumulatorValue(args->at(0)); |
+ __ AssertFunction(x0); |
+ __ Ldr(x0, FieldMemOperand(x0, HeapObject::kMapOffset)); |
+ __ Ldr(x0, FieldMemOperand(x0, Map::kPrototypeOffset)); |
+ context()->Plug(x0); |
+} |
+ |
+ |
void FullCodeGenerator::EmitFastOneByteArrayJoin(CallRuntime* expr) { |
ASM_LOCATION("FullCodeGenerator::EmitFastOneByteArrayJoin"); |