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

Unified Diff: src/compiler/js-builtin-reducer.h

Issue 2484003002: [builtins] implement JSBuiltinReducer for ArrayIteratorNext() (Closed)
Patch Set: CheckIf() for ArrayBufferWasNeutered() rather than a branch, which hopefully can be eliminated, and… Created 4 years, 1 month 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/compiler/js-builtin-reducer.h
diff --git a/src/compiler/js-builtin-reducer.h b/src/compiler/js-builtin-reducer.h
index 76165f0c03da11f9b906ee7644d6185be210761a..cc9537dcb2b18e315214254ff522260bc39a7225 100644
--- a/src/compiler/js-builtin-reducer.h
+++ b/src/compiler/js-builtin-reducer.h
@@ -45,6 +45,15 @@ class V8_EXPORT_PRIVATE JSBuiltinReducer final
Reduction Reduce(Node* node) final;
private:
+ Reduction ReduceArrayIterator(Node* node, IterationKind kind);
+ Reduction ReduceTypedArrayIterator(Node* node, IterationKind kind);
+ Reduction ReduceArrayIterator(Handle<Map> receiver_map, Node* node,
+ IterationKind kind, bool for_typed_array);
+ Reduction ReduceArrayIteratorNext(Node* node);
+ Reduction ReduceFastArrayIteratorNext(Handle<Map> iterator_map, Node* node,
+ IterationKind kind);
+ Reduction ReduceTypedArrayIteratorNext(Handle<Map> iterator_map, Node* node,
+ IterationKind kind);
Reduction ReduceArrayPop(Node* node);
Reduction ReduceArrayPush(Node* node);
Reduction ReduceDateGetTime(Node* node);

Powered by Google App Engine
This is Rietveld 408576698