| 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" |
| 11 | 11 |
| 12 namespace v8 { | 12 namespace v8 { |
| 13 namespace internal { | 13 namespace internal { |
| 14 | 14 |
| 15 // Forward declarations. | 15 // Forward declarations. |
| 16 class ExternalReference; | 16 class ExternalReference; |
| 17 template <typename T> | 17 template <typename T> |
| 18 class Handle; | 18 class Handle; |
| 19 class HeapObject; | 19 class HeapObject; |
| 20 template <class> | 20 class Type; |
| 21 class TypeImpl; | |
| 22 enum TypeofMode : int; | 21 enum TypeofMode : int; |
| 23 struct ZoneTypeConfig; | |
| 24 typedef TypeImpl<ZoneTypeConfig> Type; | |
| 25 | 22 |
| 26 namespace compiler { | 23 namespace compiler { |
| 27 | 24 |
| 28 // Forward declarations. | 25 // Forward declarations. |
| 29 class BufferAccess; | 26 class BufferAccess; |
| 30 class CallDescriptor; | 27 class CallDescriptor; |
| 31 class ContextAccess; | 28 class ContextAccess; |
| 32 struct ElementAccess; | 29 struct ElementAccess; |
| 33 struct FieldAccess; | 30 struct FieldAccess; |
| 34 class Node; | 31 class Node; |
| (...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); | 349 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); |
| 353 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); | 350 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); |
| 354 Matcher<Node*> IsParameter(const Matcher<int> index_matcher); | 351 Matcher<Node*> IsParameter(const Matcher<int> index_matcher); |
| 355 Matcher<Node*> IsLoadFramePointer(); | 352 Matcher<Node*> IsLoadFramePointer(); |
| 356 | 353 |
| 357 } // namespace compiler | 354 } // namespace compiler |
| 358 } // namespace internal | 355 } // namespace internal |
| 359 } // namespace v8 | 356 } // namespace v8 |
| 360 | 357 |
| 361 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 358 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
| OLD | NEW |