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

Unified Diff: src/elements.h

Issue 2761453002: [typedarrays] Implement %TypedArray%.prototype.reverse in C++ (Closed)
Patch Set: Use std::reverse Created 3 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
Index: src/elements.h
diff --git a/src/elements.h b/src/elements.h
index d693092bfbea2ac3de3ed048a7d2e2a4d4cad25d..ca0272f131aae9823f0b4f967cbcfc7cd530d30b 100644
--- a/src/elements.h
+++ b/src/elements.h
@@ -176,6 +176,8 @@ class ElementsAccessor {
Handle<Object> value,
uint32_t start) = 0;
+ virtual void Reverse(Handle<JSObject> receiver) = 0;
+
virtual void CopyElements(Handle<FixedArrayBase> source,
ElementsKind source_kind,
Handle<FixedArrayBase> destination, int size) = 0;
« no previous file with comments | « src/builtins/builtins-typedarray.cc ('k') | src/elements.cc » ('j') | src/elements.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698