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" |
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 class SharedFunctionInfo; | |
21 template <class> | 20 template <class> |
22 class TypeImpl; | 21 class TypeImpl; |
23 enum TypeofMode : int; | 22 enum TypeofMode : int; |
24 struct ZoneTypeConfig; | 23 struct ZoneTypeConfig; |
25 typedef TypeImpl<ZoneTypeConfig> Type; | 24 typedef TypeImpl<ZoneTypeConfig> Type; |
26 | 25 |
27 namespace compiler { | 26 namespace compiler { |
28 | 27 |
29 // Forward declarations. | 28 // Forward declarations. |
30 class BufferAccess; | 29 class BufferAccess; |
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 const Matcher<Node*>& control_matcher); | 398 const Matcher<Node*>& control_matcher); |
400 Matcher<Node*> IsJSCallRuntime(std::vector<Matcher<Node*>> value_matchers, | 399 Matcher<Node*> IsJSCallRuntime(std::vector<Matcher<Node*>> value_matchers, |
401 const Matcher<Node*>& effect_matcher, | 400 const Matcher<Node*>& effect_matcher, |
402 const Matcher<Node*>& control_matcher); | 401 const Matcher<Node*>& control_matcher); |
403 Matcher<Node*> IsJSUnaryNot(const Matcher<Node*>& value_matcher); | 402 Matcher<Node*> IsJSUnaryNot(const Matcher<Node*>& value_matcher); |
404 Matcher<Node*> IsJSTypeOf(const Matcher<Node*>& value_matcher); | 403 Matcher<Node*> IsJSTypeOf(const Matcher<Node*>& value_matcher); |
405 Matcher<Node*> IsJSDeleteProperty(const Matcher<Node*>& object_value_matcher, | 404 Matcher<Node*> IsJSDeleteProperty(const Matcher<Node*>& object_value_matcher, |
406 const Matcher<Node*>& key_matcher, | 405 const Matcher<Node*>& key_matcher, |
407 const Matcher<Node*>& effect_matcher, | 406 const Matcher<Node*>& effect_matcher, |
408 const Matcher<Node*>& control_matcher); | 407 const Matcher<Node*>& control_matcher); |
409 Matcher<Node*> IsCreateClosure(const Handle<SharedFunctionInfo> shared_info, | |
410 PretenureFlag pretenure, | |
411 const Matcher<Node*>& effect_matcher, | |
412 const Matcher<Node*>& control_matcher); | |
413 | 408 |
414 } // namespace compiler | 409 } // namespace compiler |
415 } // namespace internal | 410 } // namespace internal |
416 } // namespace v8 | 411 } // namespace v8 |
417 | 412 |
418 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 413 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
OLD | NEW |