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

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

Issue 1289863003: [interpreter]: Changes to interpreter builtins for accumulator and register file registers. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@fix_interpreter_initialization
Patch Set: Rename incoming_accumulator 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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 const Matcher<CallDescriptor const*>& descriptor_matcher, 138 const Matcher<CallDescriptor const*>& 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*>& effect_matcher, 140 const Matcher<Node*>& value2_matcher, const Matcher<Node*>& effect_matcher,
141 const Matcher<Node*>& control_matcher); 141 const Matcher<Node*>& control_matcher);
142 Matcher<Node*> IsTailCall( 142 Matcher<Node*> IsTailCall(
143 const Matcher<CallDescriptor const*>& descriptor_matcher, 143 const Matcher<CallDescriptor const*>& descriptor_matcher,
144 const Matcher<Node*>& value0_matcher, const Matcher<Node*>& value1_matcher, 144 const Matcher<Node*>& value0_matcher, const Matcher<Node*>& value1_matcher,
145 const Matcher<Node*>& value2_matcher, const Matcher<Node*>& value3_matcher, 145 const Matcher<Node*>& value2_matcher, const Matcher<Node*>& value3_matcher,
146 const Matcher<Node*>& effect_matcher, 146 const Matcher<Node*>& effect_matcher,
147 const Matcher<Node*>& control_matcher); 147 const Matcher<Node*>& control_matcher);
148 Matcher<Node*> IsTailCall(
149 const Matcher<CallDescriptor const*>& descriptor_matcher,
150 const Matcher<Node*>& value0_matcher, const Matcher<Node*>& value1_matcher,
151 const Matcher<Node*>& value2_matcher, const Matcher<Node*>& value3_matcher,
152 const Matcher<Node*>& value4_matcher, const Matcher<Node*>& effect_matcher,
153 const Matcher<Node*>& control_matcher);
154 Matcher<Node*> IsTailCall(
155 const Matcher<CallDescriptor const*>& descriptor_matcher,
156 const Matcher<Node*>& value0_matcher, const Matcher<Node*>& value1_matcher,
157 const Matcher<Node*>& value2_matcher, const Matcher<Node*>& value3_matcher,
158 const Matcher<Node*>& value4_matcher, const Matcher<Node*>& value5_matcher,
159 const Matcher<Node*>& effect_matcher,
160 const Matcher<Node*>& control_matcher);
161
148 162
149 Matcher<Node*> IsBooleanNot(const Matcher<Node*>& value_matcher); 163 Matcher<Node*> IsBooleanNot(const Matcher<Node*>& value_matcher);
150 Matcher<Node*> IsReferenceEqual(const Matcher<Type*>& type_matcher, 164 Matcher<Node*> IsReferenceEqual(const Matcher<Type*>& type_matcher,
151 const Matcher<Node*>& lhs_matcher, 165 const Matcher<Node*>& lhs_matcher,
152 const Matcher<Node*>& rhs_matcher); 166 const Matcher<Node*>& rhs_matcher);
153 Matcher<Node*> IsNumberEqual(const Matcher<Node*>& lhs_matcher, 167 Matcher<Node*> IsNumberEqual(const Matcher<Node*>& lhs_matcher,
154 const Matcher<Node*>& rhs_matcher); 168 const Matcher<Node*>& rhs_matcher);
155 Matcher<Node*> IsNumberLessThan(const Matcher<Node*>& lhs_matcher, 169 Matcher<Node*> IsNumberLessThan(const Matcher<Node*>& lhs_matcher,
156 const Matcher<Node*>& rhs_matcher); 170 const Matcher<Node*>& rhs_matcher);
157 Matcher<Node*> IsNumberSubtract(const Matcher<Node*>& lhs_matcher, 171 Matcher<Node*> IsNumberSubtract(const Matcher<Node*>& lhs_matcher,
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); 315 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher);
302 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); 316 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher);
303 Matcher<Node*> IsParameter(const Matcher<int> index_matcher); 317 Matcher<Node*> IsParameter(const Matcher<int> index_matcher);
304 Matcher<Node*> IsLoadFramePointer(); 318 Matcher<Node*> IsLoadFramePointer();
305 319
306 } // namespace compiler 320 } // namespace compiler
307 } // namespace internal 321 } // namespace internal
308 } // namespace v8 322 } // namespace v8
309 323
310 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ 324 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « test/unittests/compiler/interpreter-assembler-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