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

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: Remove unneeded includes. 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/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;
20 template <class> 21 template <class>
21 class TypeImpl; 22 class TypeImpl;
22 enum TypeofMode : int; 23 enum TypeofMode : int;
23 struct ZoneTypeConfig; 24 struct ZoneTypeConfig;
24 typedef TypeImpl<ZoneTypeConfig> Type; 25 typedef TypeImpl<ZoneTypeConfig> Type;
25 26
26 namespace compiler { 27 namespace compiler {
27 28
28 // Forward declarations. 29 // Forward declarations.
29 class BufferAccess; 30 class BufferAccess;
(...skipping 368 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
« no previous file with comments | « test/unittests/compiler/bytecode-graph-builder-unittest.cc ('k') | test/unittests/compiler/node-test-utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698