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

Unified Diff: src/builtins/builtins.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/builtins/builtins.h
diff --git a/src/builtins/builtins.h b/src/builtins/builtins.h
index 9afe3792ee2471b24fa870b9dbf9e7039c1dbd80..b62e5a0b76e6012ca9ffd571b5985df1d232f44c 100644
--- a/src/builtins/builtins.h
+++ b/src/builtins/builtins.h
@@ -845,8 +845,10 @@ class Isolate;
CPP(TypedArrayPrototypeIncludes) \
/* ES6 #sec-%typedarray%.prototype.indexof */ \
CPP(TypedArrayPrototypeIndexOf) \
- /* ES6 #sec-%typedarray%.prototype.indexof */ \
+ /* ES6 #sec-%typedarray%.prototype.lastindexof */ \
CPP(TypedArrayPrototypeLastIndexOf) \
+ /* ES6 #sec-%typedarray%.prototype.reverse */ \
+ CPP(TypedArrayPrototypeReverse) \
\
/* Wasm */ \
TFS(WasmStackGuard, BUILTIN, kNoExtraICState, WasmRuntimeCall, 1) \
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins/builtins-typedarray.cc » ('j') | src/elements.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698