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

Unified Diff: src/elements.h

Issue 212573007: ElementsAccessor::CopyElements() and its callers handlified. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 months 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
« src/builtins.cc ('K') | « src/builtins.cc ('k') | src/elements.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/elements.h
diff --git a/src/elements.h b/src/elements.h
index ea335aa47e88b8eb5d62458b75cbe4722ad9e877..44644abd929abd6972608873cfeb50ada33d0af1 100644
--- a/src/elements.h
+++ b/src/elements.h
@@ -158,14 +158,6 @@ class ElementsAccessor {
uint32_t destination_start,
int copy_size,
Handle<FixedArrayBase> source = Handle<FixedArrayBase>::null()) = 0;
- MUST_USE_RESULT virtual MaybeObject* CopyElements(
- JSObject* source_holder,
- uint32_t source_start,
- ElementsKind source_kind,
- FixedArrayBase* destination,
- uint32_t destination_start,
- int copy_size,
- FixedArrayBase* source = NULL) = 0;
void CopyElements(
Handle<JSObject> from_holder,
@@ -176,14 +168,6 @@ class ElementsAccessor {
kCopyToEndAndInitializeToHole, from);
}
- MUST_USE_RESULT MaybeObject* CopyElements(JSObject* from_holder,
- FixedArrayBase* to,
- ElementsKind from_kind,
- FixedArrayBase* from = NULL) {
- return CopyElements(from_holder, 0, from_kind, to, 0,
- kCopyToEndAndInitializeToHole, from);
- }
-
MUST_USE_RESULT virtual MaybeObject* AddElementsToFixedArray(
Object* receiver,
JSObject* holder,
« src/builtins.cc ('K') | « src/builtins.cc ('k') | src/elements.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698