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

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

Issue 1294133004: [Interpreter] Pass context to interpreter bytecode handlers and add LoadConstextSlot (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 const Matcher<Node*>& value2_matcher, const Matcher<Node*>& value3_matcher, 151 const Matcher<Node*>& value2_matcher, const Matcher<Node*>& value3_matcher,
152 const Matcher<Node*>& value4_matcher, const Matcher<Node*>& effect_matcher, 152 const Matcher<Node*>& value4_matcher, const Matcher<Node*>& effect_matcher,
153 const Matcher<Node*>& control_matcher); 153 const Matcher<Node*>& control_matcher);
154 Matcher<Node*> IsTailCall( 154 Matcher<Node*> IsTailCall(
155 const Matcher<CallDescriptor const*>& descriptor_matcher, 155 const Matcher<CallDescriptor const*>& descriptor_matcher,
156 const Matcher<Node*>& value0_matcher, const Matcher<Node*>& value1_matcher, 156 const Matcher<Node*>& value0_matcher, const Matcher<Node*>& value1_matcher,
157 const Matcher<Node*>& value2_matcher, const Matcher<Node*>& value3_matcher, 157 const Matcher<Node*>& value2_matcher, const Matcher<Node*>& value3_matcher,
158 const Matcher<Node*>& value4_matcher, const Matcher<Node*>& value5_matcher, 158 const Matcher<Node*>& value4_matcher, const Matcher<Node*>& value5_matcher,
159 const Matcher<Node*>& effect_matcher, 159 const Matcher<Node*>& effect_matcher,
160 const Matcher<Node*>& control_matcher); 160 const Matcher<Node*>& control_matcher);
161 Matcher<Node*> IsTailCall(
162 const Matcher<CallDescriptor const*>& descriptor_matcher,
163 const Matcher<Node*>& value0_matcher, const Matcher<Node*>& value1_matcher,
164 const Matcher<Node*>& value2_matcher, const Matcher<Node*>& value3_matcher,
165 const Matcher<Node*>& value4_matcher, const Matcher<Node*>& value5_matcher,
166 const Matcher<Node*>& value6_matcher, const Matcher<Node*>& effect_matcher,
167 const Matcher<Node*>& control_matcher);
168 Matcher<Node*> IsTailCall(
169 const Matcher<CallDescriptor const*>& descriptor_matcher,
170 const Matcher<Node*>& value0_matcher, const Matcher<Node*>& value1_matcher,
171 const Matcher<Node*>& value2_matcher, const Matcher<Node*>& value3_matcher,
172 const Matcher<Node*>& value4_matcher, const Matcher<Node*>& value5_matcher,
173 const Matcher<Node*>& value6_matcher, const Matcher<Node*>& value7_matcher,
174 const Matcher<Node*>& effect_matcher,
175 const Matcher<Node*>& control_matcher);
161 176
162 177
163 Matcher<Node*> IsBooleanNot(const Matcher<Node*>& value_matcher); 178 Matcher<Node*> IsBooleanNot(const Matcher<Node*>& value_matcher);
164 Matcher<Node*> IsReferenceEqual(const Matcher<Type*>& type_matcher, 179 Matcher<Node*> IsReferenceEqual(const Matcher<Type*>& type_matcher,
165 const Matcher<Node*>& lhs_matcher, 180 const Matcher<Node*>& lhs_matcher,
166 const Matcher<Node*>& rhs_matcher); 181 const Matcher<Node*>& rhs_matcher);
167 Matcher<Node*> IsNumberEqual(const Matcher<Node*>& lhs_matcher, 182 Matcher<Node*> IsNumberEqual(const Matcher<Node*>& lhs_matcher,
168 const Matcher<Node*>& rhs_matcher); 183 const Matcher<Node*>& rhs_matcher);
169 Matcher<Node*> IsNumberLessThan(const Matcher<Node*>& lhs_matcher, 184 Matcher<Node*> IsNumberLessThan(const Matcher<Node*>& lhs_matcher,
170 const Matcher<Node*>& rhs_matcher); 185 const Matcher<Node*>& rhs_matcher);
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); 330 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher);
316 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); 331 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher);
317 Matcher<Node*> IsParameter(const Matcher<int> index_matcher); 332 Matcher<Node*> IsParameter(const Matcher<int> index_matcher);
318 Matcher<Node*> IsLoadFramePointer(); 333 Matcher<Node*> IsLoadFramePointer();
319 334
320 } // namespace compiler 335 } // namespace compiler
321 } // namespace internal 336 } // namespace internal
322 } // namespace v8 337 } // namespace v8
323 338
324 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ 339 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698