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/js-operator.h" |
8 #include "src/compiler/machine-operator.h" | 9 #include "src/compiler/machine-operator.h" |
9 #include "src/compiler/machine-type.h" | 10 #include "src/compiler/machine-type.h" |
10 #include "testing/gmock/include/gmock/gmock.h" | 11 #include "testing/gmock/include/gmock/gmock.h" |
11 | 12 |
12 namespace v8 { | 13 namespace v8 { |
13 namespace internal { | 14 namespace internal { |
14 | 15 |
15 // Forward declarations. | 16 // Forward declarations. |
16 class ExternalReference; | 17 class ExternalReference; |
17 template <typename T> | 18 template <typename T> |
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 const Matcher<Node*>& control_matcher); | 399 const Matcher<Node*>& control_matcher); |
399 Matcher<Node*> IsJSCallRuntime(std::vector<Matcher<Node*>> value_matchers, | 400 Matcher<Node*> IsJSCallRuntime(std::vector<Matcher<Node*>> value_matchers, |
400 const Matcher<Node*>& effect_matcher, | 401 const Matcher<Node*>& effect_matcher, |
401 const Matcher<Node*>& control_matcher); | 402 const Matcher<Node*>& control_matcher); |
402 Matcher<Node*> IsJSUnaryNot(const Matcher<Node*>& value_matcher); | 403 Matcher<Node*> IsJSUnaryNot(const Matcher<Node*>& value_matcher); |
403 Matcher<Node*> IsJSTypeOf(const Matcher<Node*>& value_matcher); | 404 Matcher<Node*> IsJSTypeOf(const Matcher<Node*>& value_matcher); |
404 Matcher<Node*> IsJSDeleteProperty(const Matcher<Node*>& object_value_matcher, | 405 Matcher<Node*> IsJSDeleteProperty(const Matcher<Node*>& object_value_matcher, |
405 const Matcher<Node*>& key_matcher, | 406 const Matcher<Node*>& key_matcher, |
406 const Matcher<Node*>& effect_matcher, | 407 const Matcher<Node*>& effect_matcher, |
407 const Matcher<Node*>& control_matcher); | 408 const Matcher<Node*>& control_matcher); |
| 409 Matcher<CreateClosureParameters*> IsCreateClosureParameters( |
| 410 CreateClosureParameters* parameters); |
| 411 Matcher<Node*> IsCreateClosure( |
| 412 const Matcher<CreateClosureParameters*>& parameter_matcher, |
| 413 const Matcher<Node*>& effect_matcher, |
| 414 const Matcher<Node*>& control_matcher); |
408 | 415 |
409 } // namespace compiler | 416 } // namespace compiler |
410 } // namespace internal | 417 } // namespace internal |
411 } // namespace v8 | 418 } // namespace v8 |
412 | 419 |
413 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 420 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
OLD | NEW |