Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index 49df731f18cde8d3657c73def9c53584b96d92e2..2fa290143756eb52974ab7e75efc1514ff78159f 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -394,6 +394,8 @@ class Factory final { |
// JSObject that should have a memento pointing to the allocation site. |
Handle<JSObject> NewJSObjectWithMemento(Handle<JSFunction> constructor, |
Handle<AllocationSite> site); |
+ // JSObject without a prototype. |
+ Handle<JSObject> NewJSObjectWithNullProto(); |
// Global objects are pretenured and initialized based on a constructor. |
Handle<JSGlobalObject> NewJSGlobalObject(Handle<JSFunction> constructor); |