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

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

Issue 2394823003: Reland "[turbofan] inline %StringIteratorPrototype%.next in JSBuiltinReducer" (Closed)
Patch Set: Created 4 years, 2 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/compiler/js-builtin-reducer.h
diff --git a/src/compiler/js-builtin-reducer.h b/src/compiler/js-builtin-reducer.h
index 3c253d41dfa0a8e38433c6d83eee3c4c653b5de9..d1ce6ed8f88c6c596f2cda4f00eb4aa88545064f 100644
--- a/src/compiler/js-builtin-reducer.h
+++ b/src/compiler/js-builtin-reducer.h
@@ -21,6 +21,7 @@ namespace compiler {
class CommonOperatorBuilder;
struct FieldAccess;
class JSGraph;
+class JSOperatorBuilder;
class SimplifiedOperatorBuilder;
class TypeCache;
@@ -86,6 +87,7 @@ class JSBuiltinReducer final : public AdvancedReducer {
Reduction ReduceStringCharAt(Node* node);
Reduction ReduceStringCharCodeAt(Node* node);
Reduction ReduceStringFromCharCode(Node* node);
+ Reduction ReduceStringIteratorNext(Node* node);
Reduction ReduceArrayBufferViewAccessor(Node* node,
InstanceType instance_type,
FieldAccess const& access);
@@ -100,6 +102,7 @@ class JSBuiltinReducer final : public AdvancedReducer {
Isolate* isolate() const;
CommonOperatorBuilder* common() const;
SimplifiedOperatorBuilder* simplified() const;
+ JSOperatorBuilder* javascript() const;
CompilationDependencies* dependencies() const { return dependencies_; }
CompilationDependencies* const dependencies_;

Powered by Google App Engine
This is Rietveld 408576698