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/compiler/graph-reducer.h" | 8 #include "src/compiler/graph-reducer.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 Reduction ReduceMathPow(Node* node); | 57 Reduction ReduceMathPow(Node* node); |
58 Reduction ReduceMathRound(Node* node); | 58 Reduction ReduceMathRound(Node* node); |
59 Reduction ReduceMathSign(Node* node); | 59 Reduction ReduceMathSign(Node* node); |
60 Reduction ReduceMathSin(Node* node); | 60 Reduction ReduceMathSin(Node* node); |
61 Reduction ReduceMathSinh(Node* node); | 61 Reduction ReduceMathSinh(Node* node); |
62 Reduction ReduceMathSqrt(Node* node); | 62 Reduction ReduceMathSqrt(Node* node); |
63 Reduction ReduceMathTan(Node* node); | 63 Reduction ReduceMathTan(Node* node); |
64 Reduction ReduceMathTanh(Node* node); | 64 Reduction ReduceMathTanh(Node* node); |
65 Reduction ReduceMathTrunc(Node* node); | 65 Reduction ReduceMathTrunc(Node* node); |
66 Reduction ReduceNumberParseInt(Node* node); | 66 Reduction ReduceNumberParseInt(Node* node); |
| 67 Reduction ReduceNumberToString(Node* node); |
67 Reduction ReduceStringCharAt(Node* node); | 68 Reduction ReduceStringCharAt(Node* node); |
68 Reduction ReduceStringCharCodeAt(Node* node); | 69 Reduction ReduceStringCharCodeAt(Node* node); |
69 Reduction ReduceStringFromCharCode(Node* node); | 70 Reduction ReduceStringFromCharCode(Node* node); |
70 Reduction ReduceArrayBufferViewAccessor(Node* node, | 71 Reduction ReduceArrayBufferViewAccessor(Node* node, |
71 InstanceType instance_type, | 72 InstanceType instance_type, |
72 FieldAccess const& access); | 73 FieldAccess const& access); |
73 | 74 |
74 Node* ToNumber(Node* value); | 75 Node* ToNumber(Node* value); |
75 Node* ToUint32(Node* value); | 76 Node* ToUint32(Node* value); |
76 | 77 |
77 Graph* graph() const; | 78 Graph* graph() const; |
78 JSGraph* jsgraph() const { return jsgraph_; } | 79 JSGraph* jsgraph() const { return jsgraph_; } |
79 Isolate* isolate() const; | 80 Isolate* isolate() const; |
80 CommonOperatorBuilder* common() const; | 81 CommonOperatorBuilder* common() const; |
81 SimplifiedOperatorBuilder* simplified() const; | 82 SimplifiedOperatorBuilder* simplified() const; |
82 | 83 |
83 JSGraph* const jsgraph_; | 84 JSGraph* const jsgraph_; |
84 TypeCache const& type_cache_; | 85 TypeCache const& type_cache_; |
85 }; | 86 }; |
86 | 87 |
87 } // namespace compiler | 88 } // namespace compiler |
88 } // namespace internal | 89 } // namespace internal |
89 } // namespace v8 | 90 } // namespace v8 |
90 | 91 |
91 #endif // V8_COMPILER_JS_BUILTIN_REDUCER_H_ | 92 #endif // V8_COMPILER_JS_BUILTIN_REDUCER_H_ |
OLD | NEW |