OLD | NEW |
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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 Reduction ReduceMathTrunc(Node* node); | 96 Reduction ReduceMathTrunc(Node* node); |
97 Reduction ReduceNumberIsFinite(Node* node); | 97 Reduction ReduceNumberIsFinite(Node* node); |
98 Reduction ReduceNumberIsInteger(Node* node); | 98 Reduction ReduceNumberIsInteger(Node* node); |
99 Reduction ReduceNumberIsNaN(Node* node); | 99 Reduction ReduceNumberIsNaN(Node* node); |
100 Reduction ReduceNumberIsSafeInteger(Node* node); | 100 Reduction ReduceNumberIsSafeInteger(Node* node); |
101 Reduction ReduceNumberParseInt(Node* node); | 101 Reduction ReduceNumberParseInt(Node* node); |
102 Reduction ReduceObjectCreate(Node* node); | 102 Reduction ReduceObjectCreate(Node* node); |
103 Reduction ReduceStringCharAt(Node* node); | 103 Reduction ReduceStringCharAt(Node* node); |
104 Reduction ReduceStringCharCodeAt(Node* node); | 104 Reduction ReduceStringCharCodeAt(Node* node); |
105 Reduction ReduceStringFromCharCode(Node* node); | 105 Reduction ReduceStringFromCharCode(Node* node); |
| 106 Reduction ReduceStringIndexOf(Node* node); |
106 Reduction ReduceStringIterator(Node* node); | 107 Reduction ReduceStringIterator(Node* node); |
107 Reduction ReduceStringIteratorNext(Node* node); | 108 Reduction ReduceStringIteratorNext(Node* node); |
108 Reduction ReduceArrayBufferViewAccessor(Node* node, | 109 Reduction ReduceArrayBufferViewAccessor(Node* node, |
109 InstanceType instance_type, | 110 InstanceType instance_type, |
110 FieldAccess const& access); | 111 FieldAccess const& access); |
111 | 112 |
112 Node* ToNumber(Node* value); | 113 Node* ToNumber(Node* value); |
113 Node* ToUint32(Node* value); | 114 Node* ToUint32(Node* value); |
114 | 115 |
115 Flags flags() const { return flags_; } | 116 Flags flags() const { return flags_; } |
(...skipping 14 matching lines...) Expand all Loading... |
130 TypeCache const& type_cache_; | 131 TypeCache const& type_cache_; |
131 }; | 132 }; |
132 | 133 |
133 DEFINE_OPERATORS_FOR_FLAGS(JSBuiltinReducer::Flags) | 134 DEFINE_OPERATORS_FOR_FLAGS(JSBuiltinReducer::Flags) |
134 | 135 |
135 } // namespace compiler | 136 } // namespace compiler |
136 } // namespace internal | 137 } // namespace internal |
137 } // namespace v8 | 138 } // namespace v8 |
138 | 139 |
139 #endif // V8_COMPILER_JS_BUILTIN_REDUCER_H_ | 140 #endif // V8_COMPILER_JS_BUILTIN_REDUCER_H_ |
OLD | NEW |