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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 Reduction ReduceMathMin(Node* node); | 55 Reduction ReduceMathMin(Node* node); |
56 Reduction ReduceMathPow(Node* node); | 56 Reduction ReduceMathPow(Node* node); |
57 Reduction ReduceMathRound(Node* node); | 57 Reduction ReduceMathRound(Node* node); |
58 Reduction ReduceMathSign(Node* node); | 58 Reduction ReduceMathSign(Node* node); |
59 Reduction ReduceMathSin(Node* node); | 59 Reduction ReduceMathSin(Node* node); |
60 Reduction ReduceMathSinh(Node* node); | 60 Reduction ReduceMathSinh(Node* node); |
61 Reduction ReduceMathSqrt(Node* node); | 61 Reduction ReduceMathSqrt(Node* node); |
62 Reduction ReduceMathTan(Node* node); | 62 Reduction ReduceMathTan(Node* node); |
63 Reduction ReduceMathTanh(Node* node); | 63 Reduction ReduceMathTanh(Node* node); |
64 Reduction ReduceMathTrunc(Node* node); | 64 Reduction ReduceMathTrunc(Node* node); |
| 65 Reduction ReduceNumberParseInt(Node* node); |
65 Reduction ReduceStringFromCharCode(Node* node); | 66 Reduction ReduceStringFromCharCode(Node* node); |
66 | 67 |
67 Node* ToNumber(Node* value); | 68 Node* ToNumber(Node* value); |
68 Node* ToUint32(Node* value); | 69 Node* ToUint32(Node* value); |
69 | 70 |
70 Graph* graph() const; | 71 Graph* graph() const; |
71 JSGraph* jsgraph() const { return jsgraph_; } | 72 JSGraph* jsgraph() const { return jsgraph_; } |
72 Isolate* isolate() const; | 73 Isolate* isolate() const; |
73 CommonOperatorBuilder* common() const; | 74 CommonOperatorBuilder* common() const; |
74 SimplifiedOperatorBuilder* simplified() const; | 75 SimplifiedOperatorBuilder* simplified() const; |
75 | 76 |
76 JSGraph* const jsgraph_; | 77 JSGraph* const jsgraph_; |
77 TypeCache const& type_cache_; | 78 TypeCache const& type_cache_; |
78 }; | 79 }; |
79 | 80 |
80 } // namespace compiler | 81 } // namespace compiler |
81 } // namespace internal | 82 } // namespace internal |
82 } // namespace v8 | 83 } // namespace v8 |
83 | 84 |
84 #endif // V8_COMPILER_JS_BUILTIN_REDUCER_H_ | 85 #endif // V8_COMPILER_JS_BUILTIN_REDUCER_H_ |
OLD | NEW |