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

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

Issue 1329643002: Fix type errors in unit test utilities. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « no previous file | test/unittests/compiler/node-test-utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 const Matcher<Node*>& value1_matcher, 92 const Matcher<Node*>& value1_matcher,
93 const Matcher<Node*>& value2_matcher, 93 const Matcher<Node*>& value2_matcher,
94 const Matcher<Node*>& merge_matcher); 94 const Matcher<Node*>& merge_matcher);
95 Matcher<Node*> IsEffectPhi(const Matcher<Node*>& effect0_matcher, 95 Matcher<Node*> IsEffectPhi(const Matcher<Node*>& effect0_matcher,
96 const Matcher<Node*>& effect1_matcher, 96 const Matcher<Node*>& effect1_matcher,
97 const Matcher<Node*>& merge_matcher); 97 const Matcher<Node*>& merge_matcher);
98 Matcher<Node*> IsEffectSet(const Matcher<Node*>& effect0_matcher, 98 Matcher<Node*> IsEffectSet(const Matcher<Node*>& effect0_matcher,
99 const Matcher<Node*>& effect1_matcher); 99 const Matcher<Node*>& effect1_matcher);
100 Matcher<Node*> IsProjection(const Matcher<size_t>& index_matcher, 100 Matcher<Node*> IsProjection(const Matcher<size_t>& index_matcher,
101 const Matcher<Node*>& base_matcher); 101 const Matcher<Node*>& base_matcher);
102 Matcher<Node*> IsCall(const Matcher<CallDescriptor*>& descriptor_matcher, 102 Matcher<Node*> IsCall(const Matcher<const CallDescriptor*>& descriptor_matcher,
103 const Matcher<Node*>& value0_matcher, 103 const Matcher<Node*>& value0_matcher,
104 const Matcher<Node*>& value1_matcher, 104 const Matcher<Node*>& value1_matcher,
105 const Matcher<Node*>& effect_matcher, 105 const Matcher<Node*>& effect_matcher,
106 const Matcher<Node*>& control_matcher); 106 const Matcher<Node*>& control_matcher);
107 Matcher<Node*> IsCall(const Matcher<CallDescriptor*>& descriptor_matcher, 107 Matcher<Node*> IsCall(const Matcher<const CallDescriptor*>& descriptor_matcher,
108 const Matcher<Node*>& value0_matcher, 108 const Matcher<Node*>& value0_matcher,
109 const Matcher<Node*>& value1_matcher, 109 const Matcher<Node*>& value1_matcher,
110 const Matcher<Node*>& value2_matcher, 110 const Matcher<Node*>& value2_matcher,
111 const Matcher<Node*>& effect_matcher, 111 const Matcher<Node*>& effect_matcher,
112 const Matcher<Node*>& control_matcher); 112 const Matcher<Node*>& control_matcher);
113 Matcher<Node*> IsCall(const Matcher<CallDescriptor*>& descriptor_matcher, 113 Matcher<Node*> IsCall(const Matcher<const CallDescriptor*>& descriptor_matcher,
114 const Matcher<Node*>& value0_matcher, 114 const Matcher<Node*>& value0_matcher,
115 const Matcher<Node*>& value1_matcher, 115 const Matcher<Node*>& value1_matcher,
116 const Matcher<Node*>& value2_matcher, 116 const Matcher<Node*>& value2_matcher,
117 const Matcher<Node*>& value3_matcher, 117 const Matcher<Node*>& value3_matcher,
118 const Matcher<Node*>& effect_matcher, 118 const Matcher<Node*>& effect_matcher,
119 const Matcher<Node*>& control_matcher); 119 const Matcher<Node*>& control_matcher);
120 Matcher<Node*> IsCall(const Matcher<CallDescriptor*>& descriptor_matcher, 120 Matcher<Node*> IsCall(const Matcher<const CallDescriptor*>& descriptor_matcher,
121 const Matcher<Node*>& value0_matcher, 121 const Matcher<Node*>& value0_matcher,
122 const Matcher<Node*>& value1_matcher, 122 const Matcher<Node*>& value1_matcher,
123 const Matcher<Node*>& value2_matcher, 123 const Matcher<Node*>& value2_matcher,
124 const Matcher<Node*>& value3_matcher, 124 const Matcher<Node*>& value3_matcher,
125 const Matcher<Node*>& value4_matcher, 125 const Matcher<Node*>& value4_matcher,
126 const Matcher<Node*>& effect_matcher, 126 const Matcher<Node*>& effect_matcher,
127 const Matcher<Node*>& control_matcher); 127 const Matcher<Node*>& control_matcher);
128 Matcher<Node*> IsCall(const Matcher<CallDescriptor*>& descriptor_matcher, 128 Matcher<Node*> IsCall(const Matcher<const CallDescriptor*>& descriptor_matcher,
129 const Matcher<Node*>& value0_matcher, 129 const Matcher<Node*>& value0_matcher,
130 const Matcher<Node*>& value1_matcher, 130 const Matcher<Node*>& value1_matcher,
131 const Matcher<Node*>& value2_matcher, 131 const Matcher<Node*>& value2_matcher,
132 const Matcher<Node*>& value3_matcher, 132 const Matcher<Node*>& value3_matcher,
133 const Matcher<Node*>& value4_matcher, 133 const Matcher<Node*>& value4_matcher,
134 const Matcher<Node*>& value5_matcher, 134 const Matcher<Node*>& value5_matcher,
135 const Matcher<Node*>& effect_matcher, 135 const Matcher<Node*>& effect_matcher,
136 const Matcher<Node*>& control_matcher); 136 const Matcher<Node*>& control_matcher);
137 Matcher<Node*> IsCall( 137 Matcher<Node*> IsCall(
138 const Matcher<CallDescriptor*>& descriptor_matcher, 138 const Matcher<const CallDescriptor*>& descriptor_matcher,
139 const Matcher<Node*>& value0_matcher, const Matcher<Node*>& value1_matcher, 139 const Matcher<Node*>& value0_matcher, const Matcher<Node*>& value1_matcher,
140 const Matcher<Node*>& value2_matcher, const Matcher<Node*>& value3_matcher, 140 const Matcher<Node*>& value2_matcher, const Matcher<Node*>& value3_matcher,
141 const Matcher<Node*>& value4_matcher, const Matcher<Node*>& value5_matcher, 141 const Matcher<Node*>& value4_matcher, const Matcher<Node*>& value5_matcher,
142 const Matcher<Node*>& value6_matcher, const Matcher<Node*>& effect_matcher, 142 const Matcher<Node*>& value6_matcher, const Matcher<Node*>& effect_matcher,
143 const Matcher<Node*>& control_matcher); 143 const Matcher<Node*>& control_matcher);
144 Matcher<Node*> IsTailCall( 144 Matcher<Node*> IsTailCall(
145 const Matcher<CallDescriptor const*>& descriptor_matcher, 145 const Matcher<CallDescriptor const*>& descriptor_matcher,
146 const Matcher<Node*>& value0_matcher, const Matcher<Node*>& value1_matcher, 146 const Matcher<Node*>& value0_matcher, const Matcher<Node*>& value1_matcher,
147 const Matcher<Node*>& effect_matcher, 147 const Matcher<Node*>& effect_matcher,
148 const Matcher<Node*>& control_matcher); 148 const Matcher<Node*>& control_matcher);
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); 342 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher);
343 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); 343 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher);
344 Matcher<Node*> IsParameter(const Matcher<int> index_matcher); 344 Matcher<Node*> IsParameter(const Matcher<int> index_matcher);
345 Matcher<Node*> IsLoadFramePointer(); 345 Matcher<Node*> IsLoadFramePointer();
346 346
347 } // namespace compiler 347 } // namespace compiler
348 } // namespace internal 348 } // namespace internal
349 } // namespace v8 349 } // namespace v8
350 350
351 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ 351 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « no previous file | test/unittests/compiler/node-test-utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698