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

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

Issue 1254293006: [interpreter] Change interpreter to use an BytecodeArray pointer and and offset. (Closed) Base URL: ssh://rmcilroy.lon.corp.google.com///usr/local/google/code/v8_full/v8@master
Patch Set: Fix MIPS merge error 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 Matcher<Node*> IsTailCall( 132 Matcher<Node*> IsTailCall(
133 const Matcher<CallDescriptor const*>& descriptor_matcher, 133 const Matcher<CallDescriptor const*>& descriptor_matcher,
134 const Matcher<Node*>& value0_matcher, const Matcher<Node*>& value1_matcher, 134 const Matcher<Node*>& value0_matcher, const Matcher<Node*>& value1_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*> IsTailCall( 137 Matcher<Node*> IsTailCall(
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(
143 const Matcher<CallDescriptor const*>& descriptor_matcher,
144 const Matcher<Node*>& value0_matcher, const Matcher<Node*>& value1_matcher,
145 const Matcher<Node*>& value2_matcher, const Matcher<Node*>& value3_matcher,
146 const Matcher<Node*>& effect_matcher,
147 const Matcher<Node*>& control_matcher);
142 148
143 Matcher<Node*> IsBooleanNot(const Matcher<Node*>& value_matcher); 149 Matcher<Node*> IsBooleanNot(const Matcher<Node*>& value_matcher);
144 Matcher<Node*> IsReferenceEqual(const Matcher<Type*>& type_matcher, 150 Matcher<Node*> IsReferenceEqual(const Matcher<Type*>& type_matcher,
145 const Matcher<Node*>& lhs_matcher, 151 const Matcher<Node*>& lhs_matcher,
146 const Matcher<Node*>& rhs_matcher); 152 const Matcher<Node*>& rhs_matcher);
147 Matcher<Node*> IsNumberEqual(const Matcher<Node*>& lhs_matcher, 153 Matcher<Node*> IsNumberEqual(const Matcher<Node*>& lhs_matcher,
148 const Matcher<Node*>& rhs_matcher); 154 const Matcher<Node*>& rhs_matcher);
149 Matcher<Node*> IsNumberLessThan(const Matcher<Node*>& lhs_matcher, 155 Matcher<Node*> IsNumberLessThan(const Matcher<Node*>& lhs_matcher,
150 const Matcher<Node*>& rhs_matcher); 156 const Matcher<Node*>& rhs_matcher);
151 Matcher<Node*> IsNumberSubtract(const Matcher<Node*>& lhs_matcher, 157 Matcher<Node*> IsNumberSubtract(const Matcher<Node*>& lhs_matcher,
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); 299 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher);
294 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); 300 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher);
295 Matcher<Node*> IsParameter(const Matcher<int> index_matcher); 301 Matcher<Node*> IsParameter(const Matcher<int> index_matcher);
296 Matcher<Node*> IsLoadFramePointer(); 302 Matcher<Node*> IsLoadFramePointer();
297 303
298 } // namespace compiler 304 } // namespace compiler
299 } // namespace internal 305 } // namespace internal
300 } // namespace v8 306 } // namespace v8
301 307
302 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ 308 #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