Index: src/full-codegen/full-codegen.cc |
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc |
index 4bb0b4d1b7d7e446bc1435cf4b919bc108d8da06..93e4eb85be600b5552b15b36c5ca586aeec3456b 100644 |
--- a/src/full-codegen/full-codegen.cc |
+++ b/src/full-codegen/full-codegen.cc |
@@ -562,6 +562,9 @@ void FullCodeGenerator::EmitIntrinsicAsStubCall(CallRuntime* expr, |
context()->Plug(result_register()); |
} |
+void FullCodeGenerator::EmitNewObject(CallRuntime* expr) { |
+ EmitIntrinsicAsStubCall(expr, CodeFactory::FastNewObject(isolate())); |
+} |
void FullCodeGenerator::EmitNumberToString(CallRuntime* expr) { |
EmitIntrinsicAsStubCall(expr, CodeFactory::NumberToString(isolate())); |