From: mstarzinger@chromium.org Date: Mon, 23 Sep 2013 11:11:31 +0000 (+0000) Subject: Remove obsolete Factory::EnsureCanContainElements method. X-Git-Tag: upstream/4.7.83~12362 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c74587becd21755deaea6b23761c7769a44c6367;p=platform%2Fupstream%2Fv8.git Remove obsolete Factory::EnsureCanContainElements method. R=bmeurer@chromium.org Review URL: https://codereview.chromium.org/23470013 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16875 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/factory.cc b/src/factory.cc index acbaf3c..1425552 100644 --- a/src/factory.cc +++ b/src/factory.cc @@ -1083,16 +1083,6 @@ void Factory::SetContent(Handle array, } -void Factory::EnsureCanContainElements(Handle array, - Handle elements, - uint32_t length, - EnsureElementsMode mode) { - CALL_HEAP_FUNCTION_VOID( - isolate(), - array->EnsureCanContainElements(*elements, length, mode)); -} - - Handle Factory::NewJSArrayBuffer() { Handle array_buffer_fun( isolate()->context()->native_context()->array_buffer_fun()); diff --git a/src/factory.h b/src/factory.h index 12f17e2..5704066 100644 --- a/src/factory.h +++ b/src/factory.h @@ -328,11 +328,6 @@ class Factory { void SetContent(Handle array, Handle elements); - void EnsureCanContainElements(Handle array, - Handle elements, - uint32_t length, - EnsureElementsMode mode); - Handle NewJSArrayBuffer(); Handle NewJSTypedArray(ExternalArrayType type);