| 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_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 5 #ifndef V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
| 6 #define V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 6 #define V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
| 7 | 7 |
| 8 #include "src/compiler/machine-operator.h" | 8 #include "src/compiler/machine-operator.h" |
| 9 #include "src/machine-type.h" | 9 #include "src/machine-type.h" |
| 10 #include "testing/gmock/include/gmock/gmock.h" | 10 #include "testing/gmock/include/gmock/gmock.h" |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 const Matcher<Node*>& base_matcher, | 236 const Matcher<Node*>& base_matcher, |
| 237 const Matcher<Node*>& index_matcher, | 237 const Matcher<Node*>& index_matcher, |
| 238 const Matcher<Node*>& control_matcher, | 238 const Matcher<Node*>& control_matcher, |
| 239 const Matcher<Node*>& effect_matcher); | 239 const Matcher<Node*>& effect_matcher); |
| 240 Matcher<Node*> IsStoreElement(const Matcher<ElementAccess>& access_matcher, | 240 Matcher<Node*> IsStoreElement(const Matcher<ElementAccess>& access_matcher, |
| 241 const Matcher<Node*>& base_matcher, | 241 const Matcher<Node*>& base_matcher, |
| 242 const Matcher<Node*>& index_matcher, | 242 const Matcher<Node*>& index_matcher, |
| 243 const Matcher<Node*>& value_matcher, | 243 const Matcher<Node*>& value_matcher, |
| 244 const Matcher<Node*>& effect_matcher, | 244 const Matcher<Node*>& effect_matcher, |
| 245 const Matcher<Node*>& control_matcher); | 245 const Matcher<Node*>& control_matcher); |
| 246 Matcher<Node*> IsObjectIsReceiver(const Matcher<Node*>& value_matcher); |
| 246 Matcher<Node*> IsObjectIsSmi(const Matcher<Node*>& value_matcher); | 247 Matcher<Node*> IsObjectIsSmi(const Matcher<Node*>& value_matcher); |
| 247 | 248 |
| 248 Matcher<Node*> IsLoad(const Matcher<LoadRepresentation>& rep_matcher, | 249 Matcher<Node*> IsLoad(const Matcher<LoadRepresentation>& rep_matcher, |
| 249 const Matcher<Node*>& base_matcher, | 250 const Matcher<Node*>& base_matcher, |
| 250 const Matcher<Node*>& index_matcher, | 251 const Matcher<Node*>& index_matcher, |
| 251 const Matcher<Node*>& effect_matcher, | 252 const Matcher<Node*>& effect_matcher, |
| 252 const Matcher<Node*>& control_matcher); | 253 const Matcher<Node*>& control_matcher); |
| 253 Matcher<Node*> IsStore(const Matcher<StoreRepresentation>& rep_matcher, | 254 Matcher<Node*> IsStore(const Matcher<StoreRepresentation>& rep_matcher, |
| 254 const Matcher<Node*>& base_matcher, | 255 const Matcher<Node*>& base_matcher, |
| 255 const Matcher<Node*>& index_matcher, | 256 const Matcher<Node*>& index_matcher, |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 349 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); | 350 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); |
| 350 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); | 351 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); |
| 351 Matcher<Node*> IsParameter(const Matcher<int> index_matcher); | 352 Matcher<Node*> IsParameter(const Matcher<int> index_matcher); |
| 352 Matcher<Node*> IsLoadFramePointer(); | 353 Matcher<Node*> IsLoadFramePointer(); |
| 353 | 354 |
| 354 } // namespace compiler | 355 } // namespace compiler |
| 355 } // namespace internal | 356 } // namespace internal |
| 356 } // namespace v8 | 357 } // namespace v8 |
| 357 | 358 |
| 358 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 359 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
| OLD | NEW |