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/flags.h" | 8 #include "src/base/flags.h" |
9 #include "src/compiler/graph-reducer.h" | 9 #include "src/compiler/graph-reducer.h" |
10 | 10 |
(...skipping 24 matching lines...) Expand all Loading... |
35 | 35 |
36 JSBuiltinReducer(Editor* editor, JSGraph* jsgraph, Flags flags, | 36 JSBuiltinReducer(Editor* editor, JSGraph* jsgraph, Flags flags, |
37 CompilationDependencies* dependencies); | 37 CompilationDependencies* dependencies); |
38 ~JSBuiltinReducer() final {} | 38 ~JSBuiltinReducer() final {} |
39 | 39 |
40 Reduction Reduce(Node* node) final; | 40 Reduction Reduce(Node* node) final; |
41 | 41 |
42 private: | 42 private: |
43 Reduction ReduceArrayPop(Node* node); | 43 Reduction ReduceArrayPop(Node* node); |
44 Reduction ReduceArrayPush(Node* node); | 44 Reduction ReduceArrayPush(Node* node); |
| 45 Reduction ReduceDateGetTime(Node* node); |
45 Reduction ReduceMathAbs(Node* node); | 46 Reduction ReduceMathAbs(Node* node); |
46 Reduction ReduceMathAcos(Node* node); | 47 Reduction ReduceMathAcos(Node* node); |
47 Reduction ReduceMathAcosh(Node* node); | 48 Reduction ReduceMathAcosh(Node* node); |
48 Reduction ReduceMathAsin(Node* node); | 49 Reduction ReduceMathAsin(Node* node); |
49 Reduction ReduceMathAsinh(Node* node); | 50 Reduction ReduceMathAsinh(Node* node); |
50 Reduction ReduceMathAtan(Node* node); | 51 Reduction ReduceMathAtan(Node* node); |
51 Reduction ReduceMathAtanh(Node* node); | 52 Reduction ReduceMathAtanh(Node* node); |
52 Reduction ReduceMathAtan2(Node* node); | 53 Reduction ReduceMathAtan2(Node* node); |
53 Reduction ReduceMathCbrt(Node* node); | 54 Reduction ReduceMathCbrt(Node* node); |
54 Reduction ReduceMathCeil(Node* node); | 55 Reduction ReduceMathCeil(Node* node); |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 TypeCache const& type_cache_; | 102 TypeCache const& type_cache_; |
102 }; | 103 }; |
103 | 104 |
104 DEFINE_OPERATORS_FOR_FLAGS(JSBuiltinReducer::Flags) | 105 DEFINE_OPERATORS_FOR_FLAGS(JSBuiltinReducer::Flags) |
105 | 106 |
106 } // namespace compiler | 107 } // namespace compiler |
107 } // namespace internal | 108 } // namespace internal |
108 } // namespace v8 | 109 } // namespace v8 |
109 | 110 |
110 #endif // V8_COMPILER_JS_BUILTIN_REDUCER_H_ | 111 #endif // V8_COMPILER_JS_BUILTIN_REDUCER_H_ |
OLD | NEW |