Reviewers: Benedikt Meurer,

Description:
Remove obsolete Factory::EnsureCanContainElements method.

[email protected]

Please review this at https://codereview.chromium.org/23470013/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+0, -15 lines):
  M src/factory.h
  M src/factory.cc


Index: src/factory.cc
diff --git a/src/factory.cc b/src/factory.cc
index acbaf3c862ce20b2bd0d9e7155af9a686b7cbc3f..142555275cb5ae58a41e9ca2bd4fffa4de94e212 100644
--- a/src/factory.cc
+++ b/src/factory.cc
@@ -1083,16 +1083,6 @@ void Factory::SetContent(Handle<JSArray> array,
 }


-void Factory::EnsureCanContainElements(Handle<JSArray> array,
-                                       Handle<FixedArrayBase> elements,
-                                       uint32_t length,
-                                       EnsureElementsMode mode) {
-  CALL_HEAP_FUNCTION_VOID(
-      isolate(),
-      array->EnsureCanContainElements(*elements, length, mode));
-}
-
-
 Handle<JSArrayBuffer> Factory::NewJSArrayBuffer() {
   Handle<JSFunction> array_buffer_fun(
       isolate()->context()->native_context()->array_buffer_fun());
Index: src/factory.h
diff --git a/src/factory.h b/src/factory.h
index 12f17e2a23b5c0e1197aeeea27aaac9991a046df..5704066295991ffec3aca95344290fef9b3189bb 100644
--- a/src/factory.h
+++ b/src/factory.h
@@ -328,11 +328,6 @@ class Factory {

   void SetContent(Handle<JSArray> array, Handle<FixedArrayBase> elements);

-  void EnsureCanContainElements(Handle<JSArray> array,
-                                Handle<FixedArrayBase> elements,
-                                uint32_t length,
-                                EnsureElementsMode mode);
-
   Handle<JSArrayBuffer> NewJSArrayBuffer();

   Handle<JSTypedArray> NewJSTypedArray(ExternalArrayType type);


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to