| 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 22 matching lines...) Expand all  Loading... | 
| 33 class Node; | 33 class Node; | 
| 34 | 34 | 
| 35 | 35 | 
| 36 using ::testing::Matcher; | 36 using ::testing::Matcher; | 
| 37 | 37 | 
| 38 | 38 | 
| 39 Matcher<Node*> IsDead(); | 39 Matcher<Node*> IsDead(); | 
| 40 Matcher<Node*> IsEnd(const Matcher<Node*>& control0_matcher); | 40 Matcher<Node*> IsEnd(const Matcher<Node*>& control0_matcher); | 
| 41 Matcher<Node*> IsEnd(const Matcher<Node*>& control0_matcher, | 41 Matcher<Node*> IsEnd(const Matcher<Node*>& control0_matcher, | 
| 42                      const Matcher<Node*>& control1_matcher); | 42                      const Matcher<Node*>& control1_matcher); | 
|  | 43 Matcher<Node*> IsEnd(const Matcher<Node*>& control0_matcher, | 
|  | 44                      const Matcher<Node*>& control1_matcher, | 
|  | 45                      const Matcher<Node*>& control2_matcher); | 
| 43 Matcher<Node*> IsBranch(const Matcher<Node*>& value_matcher, | 46 Matcher<Node*> IsBranch(const Matcher<Node*>& value_matcher, | 
| 44                         const Matcher<Node*>& control_matcher); | 47                         const Matcher<Node*>& control_matcher); | 
| 45 Matcher<Node*> IsMerge(const Matcher<Node*>& control0_matcher, | 48 Matcher<Node*> IsMerge(const Matcher<Node*>& control0_matcher, | 
| 46                        const Matcher<Node*>& control1_matcher); | 49                        const Matcher<Node*>& control1_matcher); | 
| 47 Matcher<Node*> IsMerge(const Matcher<Node*>& control0_matcher, | 50 Matcher<Node*> IsMerge(const Matcher<Node*>& control0_matcher, | 
| 48                        const Matcher<Node*>& control1_matcher, | 51                        const Matcher<Node*>& control1_matcher, | 
| 49                        const Matcher<Node*>& control2_matcher); | 52                        const Matcher<Node*>& control2_matcher); | 
| 50 Matcher<Node*> IsLoop(const Matcher<Node*>& control0_matcher, | 53 Matcher<Node*> IsLoop(const Matcher<Node*>& control0_matcher, | 
| 51                       const Matcher<Node*>& control1_matcher); | 54                       const Matcher<Node*>& control1_matcher); | 
| 52 Matcher<Node*> IsLoop(const Matcher<Node*>& control0_matcher, | 55 Matcher<Node*> IsLoop(const Matcher<Node*>& control0_matcher, | 
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 269 Matcher<Node*> IsLoadContext(const Matcher<ContextAccess>& access_matcher, | 272 Matcher<Node*> IsLoadContext(const Matcher<ContextAccess>& access_matcher, | 
| 270                              const Matcher<Node*>& context_matcher); | 273                              const Matcher<Node*>& context_matcher); | 
| 271 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); | 274 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); | 
| 272 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); | 275 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); | 
| 273 | 276 | 
| 274 }  // namespace compiler | 277 }  // namespace compiler | 
| 275 }  // namespace internal | 278 }  // namespace internal | 
| 276 }  // namespace v8 | 279 }  // namespace v8 | 
| 277 | 280 | 
| 278 #endif  // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 281 #endif  // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 
| OLD | NEW | 
|---|