| Index: src/factory.h
|
| diff --git a/src/factory.h b/src/factory.h
|
| index 00ae587d640aadcaac3e9cb5cf8be0b93dfef162..74546f5d36fc7870ded474b1da17f4784f6a1b7d 100644
|
| --- a/src/factory.h
|
| +++ b/src/factory.h
|
| @@ -323,6 +323,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);
|
|
|