| 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/compiler/machine-type.h" | 9 #include "src/compiler/machine-type.h" |
| 10 #include "testing/gmock/include/gmock/gmock.h" | 10 #include "testing/gmock/include/gmock/gmock.h" |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 const Matcher<Node*>& base_matcher); | 102 const Matcher<Node*>& base_matcher); |
| 103 Matcher<Node*> IsCall(const Matcher<CallDescriptor*>& descriptor_matcher, | 103 Matcher<Node*> IsCall(const Matcher<CallDescriptor*>& descriptor_matcher, |
| 104 const Matcher<Node*>& value0_matcher, | 104 const Matcher<Node*>& value0_matcher, |
| 105 const Matcher<Node*>& value1_matcher, | 105 const Matcher<Node*>& value1_matcher, |
| 106 const Matcher<Node*>& effect_matcher, | 106 const Matcher<Node*>& effect_matcher, |
| 107 const Matcher<Node*>& control_matcher); | 107 const Matcher<Node*>& control_matcher); |
| 108 Matcher<Node*> IsCall(const Matcher<CallDescriptor*>& descriptor_matcher, | 108 Matcher<Node*> IsCall(const Matcher<CallDescriptor*>& descriptor_matcher, |
| 109 const Matcher<Node*>& value0_matcher, | 109 const Matcher<Node*>& value0_matcher, |
| 110 const Matcher<Node*>& value1_matcher, | 110 const Matcher<Node*>& value1_matcher, |
| 111 const Matcher<Node*>& value2_matcher, | 111 const Matcher<Node*>& value2_matcher, |
| 112 const Matcher<Node*>& effect_matcher, |
| 113 const Matcher<Node*>& control_matcher); |
| 114 Matcher<Node*> IsCall(const Matcher<CallDescriptor*>& descriptor_matcher, |
| 115 const Matcher<Node*>& value0_matcher, |
| 116 const Matcher<Node*>& value1_matcher, |
| 117 const Matcher<Node*>& value2_matcher, |
| 118 const Matcher<Node*>& value3_matcher, |
| 119 const Matcher<Node*>& effect_matcher, |
| 120 const Matcher<Node*>& control_matcher); |
| 121 Matcher<Node*> IsCall(const Matcher<CallDescriptor*>& descriptor_matcher, |
| 122 const Matcher<Node*>& value0_matcher, |
| 123 const Matcher<Node*>& value1_matcher, |
| 124 const Matcher<Node*>& value2_matcher, |
| 112 const Matcher<Node*>& value3_matcher, | 125 const Matcher<Node*>& value3_matcher, |
| 113 const Matcher<Node*>& value4_matcher, | 126 const Matcher<Node*>& value4_matcher, |
| 114 const Matcher<Node*>& effect_matcher, | 127 const Matcher<Node*>& effect_matcher, |
| 115 const Matcher<Node*>& control_matcher); | 128 const Matcher<Node*>& control_matcher); |
| 116 Matcher<Node*> IsCall(const Matcher<CallDescriptor*>& descriptor_matcher, | 129 Matcher<Node*> IsCall(const Matcher<CallDescriptor*>& descriptor_matcher, |
| 117 const Matcher<Node*>& value0_matcher, | 130 const Matcher<Node*>& value0_matcher, |
| 118 const Matcher<Node*>& value1_matcher, | 131 const Matcher<Node*>& value1_matcher, |
| 119 const Matcher<Node*>& value2_matcher, | 132 const Matcher<Node*>& value2_matcher, |
| 120 const Matcher<Node*>& value3_matcher, | 133 const Matcher<Node*>& value3_matcher, |
| 121 const Matcher<Node*>& value4_matcher, | 134 const Matcher<Node*>& value4_matcher, |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); | 343 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); |
| 331 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); | 344 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); |
| 332 Matcher<Node*> IsParameter(const Matcher<int> index_matcher); | 345 Matcher<Node*> IsParameter(const Matcher<int> index_matcher); |
| 333 Matcher<Node*> IsLoadFramePointer(); | 346 Matcher<Node*> IsLoadFramePointer(); |
| 334 | 347 |
| 335 } // namespace compiler | 348 } // namespace compiler |
| 336 } // namespace internal | 349 } // namespace internal |
| 337 } // namespace v8 | 350 } // namespace v8 |
| 338 | 351 |
| 339 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 352 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
| OLD | NEW |