Index: src/full-codegen/mips/full-codegen-mips.cc |
diff --git a/src/full-codegen/mips/full-codegen-mips.cc b/src/full-codegen/mips/full-codegen-mips.cc |
index dde4564b700182668a82930a6a6b1e94d4d5a408..e2259dfa33d75fb3731edabc514d434faf3720d1 100644 |
--- a/src/full-codegen/mips/full-codegen-mips.cc |
+++ b/src/full-codegen/mips/full-codegen-mips.cc |
@@ -3751,6 +3751,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); |
+ __ lw(v0, FieldMemOperand(v0, HeapObject::kMapOffset)); |
+ __ lw(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, |