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/code-stub-assembler.h

Issue 2680153005: [builtins] Array.prototype.filter implemented as a TurboFan code stub. (Closed)
Patch Set: Code comments. 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/code-stub-assembler.h
diff --git a/src/code-stub-assembler.h b/src/code-stub-assembler.h
index 8ae40994b323c38f5e0ab983319e90aea6a50df3..a605cb3311c30e5e2cb2076ffb0fcbea88ec1914 100644
--- a/src/code-stub-assembler.h
+++ b/src/code-stub-assembler.h
@@ -587,6 +587,9 @@ class V8_EXPORT_PRIVATE CodeStubAssembler : public compiler::CodeAssembler {
Node* AllocateJSArrayIterator(Node* array, Node* array_map, Node* map);
+ // Perform ArraySpeciesCreate (ES6 #sec-arrayspeciescreate).
+ Node* ArraySpeciesCreate(Node* context, Node* originalArray, Node* len);
+
void FillFixedArrayWithValue(ElementsKind kind, Node* array, Node* from_index,
Node* to_index,
Heap::RootListIndex value_root_index,
« no previous file with comments | « src/code-factory.cc ('k') | src/code-stub-assembler.cc » ('j') | test/js-perf-test/JSTests.json » ('J')

Powered by Google App Engine
This is Rietveld 408576698