Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1780)

Side by Side Diff: test/unittests/compiler/node-test-utils.h

Issue 1458603012: [Interpreter] Add CreateClosure to BytecodeGraphBuilder. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Revise CreateClosure bytecode per review and simplify unittest. Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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"
Michael Starzinger 2015/11/24 13:51:24 The include shouldn't be needed anymore, let's dro
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
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<Node*> IsCreateClosure(const Handle<SharedFunctionInfo> shared_info,
410 PretenureFlag pretenure,
411 const Matcher<Node*>& effect_matcher,
412 const Matcher<Node*>& control_matcher);
408 413
409 } // namespace compiler 414 } // namespace compiler
410 } // namespace internal 415 } // namespace internal
411 } // namespace v8 416 } // namespace v8
412 417
413 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ 418 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698