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 = |