Index: src/full-codegen/arm/full-codegen-arm.cc |
diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc |
index 1d6ed8c03c1f76660ea12f529ec495a8d268fba2..15629d856de17292b86b50b74ec3e03d853d5158 100644 |
--- a/src/full-codegen/arm/full-codegen-arm.cc |
+++ b/src/full-codegen/arm/full-codegen-arm.cc |
@@ -3742,6 +3742,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(r0); |
+ __ ldr(r0, FieldMemOperand(r0, HeapObject::kMapOffset)); |
+ __ ldr(r0, FieldMemOperand(r0, Map::kPrototypeOffset)); |
+ context()->Plug(r0); |
+} |
+ |
+ |
void FullCodeGenerator::EmitFastOneByteArrayJoin(CallRuntime* expr) { |
Label bailout, done, one_char_separator, long_separator, non_trivial_array, |
not_size_one_array, loop, empty_separator_loop, one_char_separator_loop, |