Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index 3f77d45a673520fa0a4bd09ea27198225aa0047f..f712880a02cd495daba0491cb08a9f2f2bd3e9af 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -328,6 +328,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); |