Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index db25b09a91e7629e02c56fa1a94b07380c39b8b7..d70265c1a07d9a9923a96a30d5d297b639c3ae1c 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -326,6 +326,9 @@ class Factory { |
// runtime. |
Handle<JSObject> NewJSObject(Handle<JSFunction> constructor, |
PretenureFlag pretenure = NOT_TENURED); |
+ // JSObject that should have a memento pointing to the allocation site. |
+ Handle<JSObject> NewJSObjectWithMemento(Handle<JSFunction> constructor, |
+ Handle<AllocationSite> site); |
// Global objects are pretenured and initialized based on a constructor. |
Handle<GlobalObject> NewGlobalObject(Handle<JSFunction> constructor); |