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 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 const Matcher<Node*>& value_matcher, | 383 const Matcher<Node*>& value_matcher, |
384 const Matcher<Node*>& feedback_vector_matcher, | 384 const Matcher<Node*>& feedback_vector_matcher, |
385 const Matcher<Node*>& effect_matcher, | 385 const Matcher<Node*>& effect_matcher, |
386 const Matcher<Node*>& control_matcher); | 386 const Matcher<Node*>& control_matcher); |
387 Matcher<Node*> IsJSStoreProperty(const Matcher<Node*>& object_matcher, | 387 Matcher<Node*> IsJSStoreProperty(const Matcher<Node*>& object_matcher, |
388 const Matcher<Node*>& key_matcher, | 388 const Matcher<Node*>& key_matcher, |
389 const Matcher<Node*>& value_matcher, | 389 const Matcher<Node*>& value_matcher, |
390 const Matcher<Node*>& feedback_vector_matcher, | 390 const Matcher<Node*>& feedback_vector_matcher, |
391 const Matcher<Node*>& effect_matcher, | 391 const Matcher<Node*>& effect_matcher, |
392 const Matcher<Node*>& control_matcher); | 392 const Matcher<Node*>& control_matcher); |
| 393 Matcher<Node*> IsJSCallConstruct(std::vector<Matcher<Node*>> value_matchers, |
| 394 const Matcher<Node*>& effect_matcher, |
| 395 const Matcher<Node*>& control_matcher); |
393 Matcher<Node*> IsJSCallFunction(std::vector<Matcher<Node*>> value_matchers, | 396 Matcher<Node*> IsJSCallFunction(std::vector<Matcher<Node*>> value_matchers, |
394 const Matcher<Node*>& effect_matcher, | 397 const Matcher<Node*>& effect_matcher, |
395 const Matcher<Node*>& control_matcher); | 398 const Matcher<Node*>& control_matcher); |
| 399 Matcher<Node*> IsJSCallRuntime(std::vector<Matcher<Node*>> value_matchers, |
| 400 const Matcher<Node*>& effect_matcher, |
| 401 const Matcher<Node*>& control_matcher); |
396 Matcher<Node*> IsJSUnaryNot(const Matcher<Node*>& value_matcher); | 402 Matcher<Node*> IsJSUnaryNot(const Matcher<Node*>& value_matcher); |
397 Matcher<Node*> IsJSTypeOf(const Matcher<Node*>& value_matcher); | 403 Matcher<Node*> IsJSTypeOf(const Matcher<Node*>& value_matcher); |
398 Matcher<Node*> IsJSDeleteProperty(const Matcher<Node*>& object_value_matcher, | 404 Matcher<Node*> IsJSDeleteProperty(const Matcher<Node*>& object_value_matcher, |
399 const Matcher<Node*>& key_matcher, | 405 const Matcher<Node*>& key_matcher, |
400 const Matcher<Node*>& effect_matcher, | 406 const Matcher<Node*>& effect_matcher, |
401 const Matcher<Node*>& control_matcher); | 407 const Matcher<Node*>& control_matcher); |
402 | 408 |
403 } // namespace compiler | 409 } // namespace compiler |
404 } // namespace internal | 410 } // namespace internal |
405 } // namespace v8 | 411 } // namespace v8 |
406 | 412 |
407 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 413 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
OLD | NEW |