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

Side by Side Diff: src/compiler/js-builtin-reducer.h

Issue 2422383002: [turbofan] Implement JSBuiltinReducer for String.prototype[Symbol.iterator]. (Closed)
Patch Set: pass input context twice to LoadContext. fixes tests. 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 unified diff | Download patch
« no previous file with comments | « src/bootstrapper.cc ('k') | src/compiler/js-builtin-reducer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_COMPILER_JS_BUILTIN_REDUCER_H_ 5 #ifndef V8_COMPILER_JS_BUILTIN_REDUCER_H_
6 #define V8_COMPILER_JS_BUILTIN_REDUCER_H_ 6 #define V8_COMPILER_JS_BUILTIN_REDUCER_H_
7 7
8 #include "src/base/compiler-specific.h" 8 #include "src/base/compiler-specific.h"
9 #include "src/base/flags.h" 9 #include "src/base/flags.h"
10 #include "src/compiler/graph-reducer.h" 10 #include "src/compiler/graph-reducer.h"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 Reduction ReduceMathTanh(Node* node); 83 Reduction ReduceMathTanh(Node* node);
84 Reduction ReduceMathTrunc(Node* node); 84 Reduction ReduceMathTrunc(Node* node);
85 Reduction ReduceNumberIsFinite(Node* node); 85 Reduction ReduceNumberIsFinite(Node* node);
86 Reduction ReduceNumberIsInteger(Node* node); 86 Reduction ReduceNumberIsInteger(Node* node);
87 Reduction ReduceNumberIsNaN(Node* node); 87 Reduction ReduceNumberIsNaN(Node* node);
88 Reduction ReduceNumberIsSafeInteger(Node* node); 88 Reduction ReduceNumberIsSafeInteger(Node* node);
89 Reduction ReduceNumberParseInt(Node* node); 89 Reduction ReduceNumberParseInt(Node* node);
90 Reduction ReduceStringCharAt(Node* node); 90 Reduction ReduceStringCharAt(Node* node);
91 Reduction ReduceStringCharCodeAt(Node* node); 91 Reduction ReduceStringCharCodeAt(Node* node);
92 Reduction ReduceStringFromCharCode(Node* node); 92 Reduction ReduceStringFromCharCode(Node* node);
93 Reduction ReduceStringIterator(Node* node);
93 Reduction ReduceStringIteratorNext(Node* node); 94 Reduction ReduceStringIteratorNext(Node* node);
94 Reduction ReduceArrayBufferViewAccessor(Node* node, 95 Reduction ReduceArrayBufferViewAccessor(Node* node,
95 InstanceType instance_type, 96 InstanceType instance_type,
96 FieldAccess const& access); 97 FieldAccess const& access);
97 98
98 Node* ToNumber(Node* value); 99 Node* ToNumber(Node* value);
99 Node* ToUint32(Node* value); 100 Node* ToUint32(Node* value);
100 101
101 Flags flags() const { return flags_; } 102 Flags flags() const { return flags_; }
102 Graph* graph() const; 103 Graph* graph() const;
(...skipping 11 matching lines...) Expand all
114 TypeCache const& type_cache_; 115 TypeCache const& type_cache_;
115 }; 116 };
116 117
117 DEFINE_OPERATORS_FOR_FLAGS(JSBuiltinReducer::Flags) 118 DEFINE_OPERATORS_FOR_FLAGS(JSBuiltinReducer::Flags)
118 119
119 } // namespace compiler 120 } // namespace compiler
120 } // namespace internal 121 } // namespace internal
121 } // namespace v8 122 } // namespace v8
122 123
123 #endif // V8_COMPILER_JS_BUILTIN_REDUCER_H_ 124 #endif // V8_COMPILER_JS_BUILTIN_REDUCER_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/compiler/js-builtin-reducer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698