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

Unified Diff: src/objects.h

Issue 2814683002: [builtins] Implement %TypedArray%.prototype.map in the CSA (Closed)
Patch Set: added todo Created 3 years, 7 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
« no previous file with comments | « src/code-stub-assembler.cc ('k') | src/objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index bcb4cd49b7ddf8af12e69723e26f6cc98636fcc3..2a5769780adbf8c536a93984df27c8eea835be5c 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -9439,6 +9439,16 @@ class JSTypedArray: public JSArrayBufferView {
static inline MaybeHandle<JSTypedArray> Validate(Isolate* isolate,
Handle<Object> receiver,
const char* method_name);
+ // ES7 section 22.2.4.6 Create ( constructor, argumentList )
+ static MaybeHandle<JSTypedArray> Create(Isolate* isolate,
+ Handle<JSFunction> default_ctor,
+ int argc, Handle<Object>* argv,
+ const char* method_name);
+ // ES7 section 22.2.4.7 TypedArraySpeciesCreate ( exemplar, argumentList )
+ static MaybeHandle<JSTypedArray> SpeciesCreate(Isolate* isolate,
+ Handle<JSTypedArray> exemplar,
+ int argc, Handle<Object>* argv,
+ const char* method_name);
// Dispatched behavior.
DECLARE_PRINTER(JSTypedArray)
« no previous file with comments | « src/code-stub-assembler.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698