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_CCTEST_COMPILER_GRAPH_BUILDER_TESTER_H_ | 5 #ifndef V8_CCTEST_COMPILER_GRAPH_BUILDER_TESTER_H_ |
6 #define V8_CCTEST_COMPILER_GRAPH_BUILDER_TESTER_H_ | 6 #define V8_CCTEST_COMPILER_GRAPH_BUILDER_TESTER_H_ |
7 | 7 |
8 #include "src/compiler/common-operator.h" | 8 #include "src/compiler/common-operator.h" |
9 #include "src/compiler/instruction-selector.h" | 9 #include "src/compiler/instruction-selector.h" |
10 #include "src/compiler/linkage.h" | 10 #include "src/compiler/linkage.h" |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 } | 161 } |
162 Node* ChangeInt32ToTagged(Node* a) { | 162 Node* ChangeInt32ToTagged(Node* a) { |
163 return NewNode(simplified()->ChangeInt32ToTagged(), a); | 163 return NewNode(simplified()->ChangeInt32ToTagged(), a); |
164 } | 164 } |
165 Node* ChangeUint32ToTagged(Node* a) { | 165 Node* ChangeUint32ToTagged(Node* a) { |
166 return NewNode(simplified()->ChangeUint32ToTagged(), a); | 166 return NewNode(simplified()->ChangeUint32ToTagged(), a); |
167 } | 167 } |
168 Node* ChangeFloat64ToTagged(Node* a) { | 168 Node* ChangeFloat64ToTagged(Node* a) { |
169 return NewNode(simplified()->ChangeFloat64ToTagged(), a); | 169 return NewNode(simplified()->ChangeFloat64ToTagged(), a); |
170 } | 170 } |
171 Node* ChangeBoolToBit(Node* a) { | 171 Node* ChangeTaggedToBit(Node* a) { |
172 return NewNode(simplified()->ChangeBoolToBit(), a); | 172 return NewNode(simplified()->ChangeTaggedToBit(), a); |
173 } | 173 } |
174 Node* ChangeBitToBool(Node* a) { | 174 Node* ChangeBitToTagged(Node* a) { |
175 return NewNode(simplified()->ChangeBitToBool(), a); | 175 return NewNode(simplified()->ChangeBitToTagged(), a); |
176 } | 176 } |
177 | 177 |
178 Node* LoadField(const FieldAccess& access, Node* object) { | 178 Node* LoadField(const FieldAccess& access, Node* object) { |
179 return NewNode(simplified()->LoadField(access), object); | 179 return NewNode(simplified()->LoadField(access), object); |
180 } | 180 } |
181 Node* StoreField(const FieldAccess& access, Node* object, Node* value) { | 181 Node* StoreField(const FieldAccess& access, Node* object, Node* value) { |
182 return NewNode(simplified()->StoreField(access), object, value); | 182 return NewNode(simplified()->StoreField(access), object, value); |
183 } | 183 } |
184 Node* LoadElement(const ElementAccess& access, Node* object, Node* index) { | 184 Node* LoadElement(const ElementAccess& access, Node* object, Node* index) { |
185 return NewNode(simplified()->LoadElement(access), object, index); | 185 return NewNode(simplified()->LoadElement(access), object, index); |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 Node* return_; | 303 Node* return_; |
304 Node** parameters_; | 304 Node** parameters_; |
305 MaybeHandle<Code> code_; | 305 MaybeHandle<Code> code_; |
306 }; | 306 }; |
307 | 307 |
308 } // namespace compiler | 308 } // namespace compiler |
309 } // namespace internal | 309 } // namespace internal |
310 } // namespace v8 | 310 } // namespace v8 |
311 | 311 |
312 #endif // V8_CCTEST_COMPILER_GRAPH_BUILDER_TESTER_H_ | 312 #endif // V8_CCTEST_COMPILER_GRAPH_BUILDER_TESTER_H_ |
OLD | NEW |