OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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_INTRINSIC_LOWERING_H_ | 5 #ifndef V8_COMPILER_JS_INTRINSIC_LOWERING_H_ |
6 #define V8_COMPILER_JS_INTRINSIC_LOWERING_H_ | 6 #define V8_COMPILER_JS_INTRINSIC_LOWERING_H_ |
7 | 7 |
8 #include "src/base/compiler-specific.h" | 8 #include "src/base/compiler-specific.h" |
9 #include "src/compiler/common-operator.h" | 9 #include "src/compiler/common-operator.h" |
10 #include "src/compiler/graph-reducer.h" | 10 #include "src/compiler/graph-reducer.h" |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 Reduction ReduceFixedArrayGet(Node* node); | 51 Reduction ReduceFixedArrayGet(Node* node); |
52 Reduction ReduceFixedArraySet(Node* node); | 52 Reduction ReduceFixedArraySet(Node* node); |
53 Reduction ReduceRegExpExec(Node* node); | 53 Reduction ReduceRegExpExec(Node* node); |
54 Reduction ReduceSubString(Node* node); | 54 Reduction ReduceSubString(Node* node); |
55 Reduction ReduceToInteger(Node* node); | 55 Reduction ReduceToInteger(Node* node); |
56 Reduction ReduceToLength(Node* node); | 56 Reduction ReduceToLength(Node* node); |
57 Reduction ReduceToNumber(Node* node); | 57 Reduction ReduceToNumber(Node* node); |
58 Reduction ReduceToObject(Node* node); | 58 Reduction ReduceToObject(Node* node); |
59 Reduction ReduceToString(Node* node); | 59 Reduction ReduceToString(Node* node); |
60 Reduction ReduceCall(Node* node); | 60 Reduction ReduceCall(Node* node); |
61 Reduction ReduceNewObject(Node* node); | |
62 Reduction ReduceGetSuperConstructor(Node* node); | 61 Reduction ReduceGetSuperConstructor(Node* node); |
63 | 62 |
64 Reduction Change(Node* node, const Operator* op); | 63 Reduction Change(Node* node, const Operator* op); |
65 Reduction Change(Node* node, const Operator* op, Node* a, Node* b); | 64 Reduction Change(Node* node, const Operator* op, Node* a, Node* b); |
66 Reduction Change(Node* node, const Operator* op, Node* a, Node* b, Node* c); | 65 Reduction Change(Node* node, const Operator* op, Node* a, Node* b, Node* c); |
67 Reduction Change(Node* node, const Operator* op, Node* a, Node* b, Node* c, | 66 Reduction Change(Node* node, const Operator* op, Node* a, Node* b, Node* c, |
68 Node* d); | 67 Node* d); |
69 Reduction Change(Node* node, Callable const& callable, | 68 Reduction Change(Node* node, Callable const& callable, |
70 int stack_parameter_count); | 69 int stack_parameter_count); |
71 | 70 |
72 Graph* graph() const; | 71 Graph* graph() const; |
73 JSGraph* jsgraph() const { return jsgraph_; } | 72 JSGraph* jsgraph() const { return jsgraph_; } |
74 Isolate* isolate() const; | 73 Isolate* isolate() const; |
75 CommonOperatorBuilder* common() const; | 74 CommonOperatorBuilder* common() const; |
76 JSOperatorBuilder* javascript() const; | 75 JSOperatorBuilder* javascript() const; |
77 SimplifiedOperatorBuilder* simplified() const; | 76 SimplifiedOperatorBuilder* simplified() const; |
78 DeoptimizationMode mode() const { return mode_; } | 77 DeoptimizationMode mode() const { return mode_; } |
79 | 78 |
80 JSGraph* const jsgraph_; | 79 JSGraph* const jsgraph_; |
81 DeoptimizationMode const mode_; | 80 DeoptimizationMode const mode_; |
82 }; | 81 }; |
83 | 82 |
84 } // namespace compiler | 83 } // namespace compiler |
85 } // namespace internal | 84 } // namespace internal |
86 } // namespace v8 | 85 } // namespace v8 |
87 | 86 |
88 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_ | 87 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_ |
OLD | NEW |