Index: src/compiler/js-generic-lowering.cc |
diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc |
index 6647579b54c5cc0288597fabcc95b77a5d921d78..b6cd40d21df56edff64f226b2f9fb7395ff5571b 100644 |
--- a/src/compiler/js-generic-lowering.cc |
+++ b/src/compiler/js-generic-lowering.cc |
@@ -508,7 +508,9 @@ void JSGenericLowering::LowerJSStoreContext(Node* node) { |
void JSGenericLowering::LowerJSCreate(Node* node) { |
- ReplaceWithRuntimeCall(node, Runtime::kNewObject); |
+ CallDescriptor::Flags flags = AdjustFrameStatesForCall(node); |
+ Callable callable = CodeFactory::FastNewObject(isolate()); |
+ ReplaceWithStubCall(node, callable, flags); |
} |