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_TYPED_LOWERING_H_ | 5 #ifndef V8_COMPILER_JS_TYPED_LOWERING_H_ |
6 #define V8_COMPILER_JS_TYPED_LOWERING_H_ | 6 #define V8_COMPILER_JS_TYPED_LOWERING_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 #include "src/compiler/opcodes.h" | 10 #include "src/compiler/opcodes.h" |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 Reduction ReduceSelect(Node* node); | 88 Reduction ReduceSelect(Node* node); |
89 Reduction ReduceNumberBinop(Node* node, const Operator* numberOp); | 89 Reduction ReduceNumberBinop(Node* node, const Operator* numberOp); |
90 Reduction ReduceInt32Binop(Node* node, const Operator* intOp); | 90 Reduction ReduceInt32Binop(Node* node, const Operator* intOp); |
91 Reduction ReduceUI32Shift(Node* node, Signedness left_signedness, | 91 Reduction ReduceUI32Shift(Node* node, Signedness left_signedness, |
92 const Operator* shift_op); | 92 const Operator* shift_op); |
93 Reduction ReduceNewArray(Node* node, Node* length, int capacity, | 93 Reduction ReduceNewArray(Node* node, Node* length, int capacity, |
94 Handle<AllocationSite> site); | 94 Handle<AllocationSite> site); |
95 | 95 |
96 Node* Word32Shl(Node* const lhs, int32_t const rhs); | 96 Node* Word32Shl(Node* const lhs, int32_t const rhs); |
97 Node* AllocateArguments(Node* effect, Node* control, Node* frame_state); | 97 Node* AllocateArguments(Node* effect, Node* control, Node* frame_state); |
| 98 Node* AllocateRestArguments(Node* effect, Node* control, Node* frame_state, |
| 99 int start_index); |
98 Node* AllocateAliasedArguments(Node* effect, Node* control, Node* frame_state, | 100 Node* AllocateAliasedArguments(Node* effect, Node* control, Node* frame_state, |
99 Node* context, Handle<SharedFunctionInfo>, | 101 Node* context, Handle<SharedFunctionInfo>, |
100 bool* has_aliased_arguments); | 102 bool* has_aliased_arguments); |
101 Node* AllocateElements(Node* effect, Node* control, | 103 Node* AllocateElements(Node* effect, Node* control, |
102 ElementsKind elements_kind, int capacity, | 104 ElementsKind elements_kind, int capacity, |
103 PretenureFlag pretenure); | 105 PretenureFlag pretenure); |
104 | 106 |
105 Factory* factory() const; | 107 Factory* factory() const; |
106 Graph* graph() const; | 108 Graph* graph() const; |
107 JSGraph* jsgraph() const { return jsgraph_; } | 109 JSGraph* jsgraph() const { return jsgraph_; } |
(...skipping 19 matching lines...) Expand all Loading... |
127 TypeCache const& type_cache_; | 129 TypeCache const& type_cache_; |
128 }; | 130 }; |
129 | 131 |
130 DEFINE_OPERATORS_FOR_FLAGS(JSTypedLowering::Flags) | 132 DEFINE_OPERATORS_FOR_FLAGS(JSTypedLowering::Flags) |
131 | 133 |
132 } // namespace compiler | 134 } // namespace compiler |
133 } // namespace internal | 135 } // namespace internal |
134 } // namespace v8 | 136 } // namespace v8 |
135 | 137 |
136 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_ | 138 #endif // V8_COMPILER_JS_TYPED_LOWERING_H_ |
OLD | NEW |