Index: src/full-codegen/ia32/full-codegen-ia32.cc |
diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc |
index 402d2e20cc0d8383edb4342399927056fdd3910d..86deac11dd26a51b9d0fa168f44d198b3046e74e 100644 |
--- a/src/full-codegen/ia32/full-codegen-ia32.cc |
+++ b/src/full-codegen/ia32/full-codegen-ia32.cc |
@@ -3635,6 +3635,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(eax); |
+ __ mov(eax, FieldOperand(eax, HeapObject::kMapOffset)); |
+ __ mov(eax, FieldOperand(eax, Map::kPrototypeOffset)); |
+ context()->Plug(eax); |
+} |
+ |
+ |
void FullCodeGenerator::EmitFastOneByteArrayJoin(CallRuntime* expr) { |
Label bailout, done, one_char_separator, long_separator, |
non_trivial_array, not_size_one_array, loop, |