Index: src/full-codegen/mips64/full-codegen-mips64.cc |
diff --git a/src/full-codegen/mips64/full-codegen-mips64.cc b/src/full-codegen/mips64/full-codegen-mips64.cc |
index b4a8a445cca17e97968eafcfad172487518a9c1e..ed41fcdb828e114d61716a5dd14f4fe0a7593201 100644 |
--- a/src/full-codegen/mips64/full-codegen-mips64.cc |
+++ b/src/full-codegen/mips64/full-codegen-mips64.cc |
@@ -3758,6 +3758,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(v0); |
+ __ ld(v0, FieldMemOperand(v0, HeapObject::kMapOffset)); |
+ __ ld(v0, FieldMemOperand(v0, Map::kPrototypeOffset)); |
+ context()->Plug(v0); |
+} |
+ |
+ |
void FullCodeGenerator::EmitFastOneByteArrayJoin(CallRuntime* expr) { |
Label bailout, done, one_char_separator, long_separator, |
non_trivial_array, not_size_one_array, loop, |