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

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

Issue 1157023002: [turbofan] Change End to take a variable number of inputs. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 months 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"
(...skipping 13 matching lines...) Expand all
24 class BufferAccess; 24 class BufferAccess;
25 class CallDescriptor; 25 class CallDescriptor;
26 struct ElementAccess; 26 struct ElementAccess;
27 struct FieldAccess; 27 struct FieldAccess;
28 class Node; 28 class Node;
29 29
30 30
31 using ::testing::Matcher; 31 using ::testing::Matcher;
32 32
33 33
34 Matcher<Node*> IsEnd(const Matcher<Node*>& control_matcher); 34 Matcher<Node*> IsEnd(const Matcher<Node*>& control0_matcher);
35 Matcher<Node*> IsEnd(const Matcher<Node*>& control0_matcher,
36 const Matcher<Node*>& control1_matcher);
35 Matcher<Node*> IsBranch(const Matcher<Node*>& value_matcher, 37 Matcher<Node*> IsBranch(const Matcher<Node*>& value_matcher,
36 const Matcher<Node*>& control_matcher); 38 const Matcher<Node*>& control_matcher);
37 Matcher<Node*> IsMerge(const Matcher<Node*>& control0_matcher, 39 Matcher<Node*> IsMerge(const Matcher<Node*>& control0_matcher,
38 const Matcher<Node*>& control1_matcher); 40 const Matcher<Node*>& control1_matcher);
39 Matcher<Node*> IsMerge(const Matcher<Node*>& control0_matcher, 41 Matcher<Node*> IsMerge(const Matcher<Node*>& control0_matcher,
40 const Matcher<Node*>& control1_matcher, 42 const Matcher<Node*>& control1_matcher,
41 const Matcher<Node*>& control2_matcher); 43 const Matcher<Node*>& control2_matcher);
42 Matcher<Node*> IsLoop(const Matcher<Node*>& control0_matcher, 44 Matcher<Node*> IsLoop(const Matcher<Node*>& control0_matcher,
43 const Matcher<Node*>& control1_matcher); 45 const Matcher<Node*>& control1_matcher);
44 Matcher<Node*> IsLoop(const Matcher<Node*>& control0_matcher, 46 Matcher<Node*> IsLoop(const Matcher<Node*>& control0_matcher,
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 const Matcher<Node*>& effect_matcher, 258 const Matcher<Node*>& effect_matcher,
257 const Matcher<Node*>& control_matcher); 259 const Matcher<Node*>& control_matcher);
258 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); 260 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher);
259 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); 261 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher);
260 262
261 } // namespace compiler 263 } // namespace compiler
262 } // namespace internal 264 } // namespace internal
263 } // namespace v8 265 } // namespace v8
264 266
265 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ 267 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698