Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Unified Diff: src/factory.cc

Issue 2483103002: Remove NewJSObjectWithMemento (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/factory.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/factory.cc
diff --git a/src/factory.cc b/src/factory.cc
index 564f821c42875dd1e14e68d0344678b1fe9f8dc0..f6b15708c76718c48d508c8bd1c57bf4fbf8ce6a 100644
--- a/src/factory.cc
+++ b/src/factory.cc
@@ -1632,16 +1632,6 @@ Handle<JSObject> Factory::NewJSObject(Handle<JSFunction> constructor,
}
-Handle<JSObject> Factory::NewJSObjectWithMemento(
- Handle<JSFunction> constructor,
- Handle<AllocationSite> site) {
- JSFunction::EnsureHasInitialMap(constructor);
- CALL_HEAP_FUNCTION(
- isolate(),
- isolate()->heap()->AllocateJSObject(*constructor, NOT_TENURED, *site),
- JSObject);
-}
-
Handle<JSObject> Factory::NewJSObjectWithNullProto() {
Handle<JSObject> result = NewJSObject(isolate()->object_function());
Handle<Map> new_map =
« no previous file with comments | « src/factory.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698