OLD | NEW |
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/machine-type.h" | 9 #include "src/machine-type.h" |
10 #include "testing/gmock/include/gmock/gmock.h" | 10 #include "testing/gmock/include/gmock/gmock.h" |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 Matcher<Node*> IsNumberMultiply(const Matcher<Node*>& lhs_matcher, | 204 Matcher<Node*> IsNumberMultiply(const Matcher<Node*>& lhs_matcher, |
205 const Matcher<Node*>& rhs_matcher); | 205 const Matcher<Node*>& rhs_matcher); |
206 Matcher<Node*> IsNumberShiftLeft(const Matcher<Node*>& lhs_matcher, | 206 Matcher<Node*> IsNumberShiftLeft(const Matcher<Node*>& lhs_matcher, |
207 const Matcher<Node*>& rhs_matcher); | 207 const Matcher<Node*>& rhs_matcher); |
208 Matcher<Node*> IsNumberShiftRight(const Matcher<Node*>& lhs_matcher, | 208 Matcher<Node*> IsNumberShiftRight(const Matcher<Node*>& lhs_matcher, |
209 const Matcher<Node*>& rhs_matcher); | 209 const Matcher<Node*>& rhs_matcher); |
210 Matcher<Node*> IsNumberShiftRightLogical(const Matcher<Node*>& lhs_matcher, | 210 Matcher<Node*> IsNumberShiftRightLogical(const Matcher<Node*>& lhs_matcher, |
211 const Matcher<Node*>& rhs_matcher); | 211 const Matcher<Node*>& rhs_matcher); |
212 Matcher<Node*> IsNumberImul(const Matcher<Node*>& lhs_matcher, | 212 Matcher<Node*> IsNumberImul(const Matcher<Node*>& lhs_matcher, |
213 const Matcher<Node*>& rhs_matcher); | 213 const Matcher<Node*>& rhs_matcher); |
| 214 Matcher<Node*> IsStringFromCharCode(const Matcher<Node*>& value_matcher); |
214 Matcher<Node*> IsAllocate(const Matcher<Node*>& size_matcher, | 215 Matcher<Node*> IsAllocate(const Matcher<Node*>& size_matcher, |
215 const Matcher<Node*>& effect_matcher, | 216 const Matcher<Node*>& effect_matcher, |
216 const Matcher<Node*>& control_matcher); | 217 const Matcher<Node*>& control_matcher); |
217 Matcher<Node*> IsLoadField(const Matcher<FieldAccess>& access_matcher, | 218 Matcher<Node*> IsLoadField(const Matcher<FieldAccess>& access_matcher, |
218 const Matcher<Node*>& base_matcher, | 219 const Matcher<Node*>& base_matcher, |
219 const Matcher<Node*>& effect_matcher, | 220 const Matcher<Node*>& effect_matcher, |
220 const Matcher<Node*>& control_matcher); | 221 const Matcher<Node*>& control_matcher); |
221 Matcher<Node*> IsStoreField(const Matcher<FieldAccess>& access_matcher, | 222 Matcher<Node*> IsStoreField(const Matcher<FieldAccess>& access_matcher, |
222 const Matcher<Node*>& base_matcher, | 223 const Matcher<Node*>& base_matcher, |
223 const Matcher<Node*>& value_matcher, | 224 const Matcher<Node*>& value_matcher, |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 Matcher<Node*> IsStackSlot(); | 390 Matcher<Node*> IsStackSlot(); |
390 Matcher<Node*> IsTypeGuard(const Matcher<Type*>& type_matcher, | 391 Matcher<Node*> IsTypeGuard(const Matcher<Type*>& type_matcher, |
391 const Matcher<Node*>& value_matcher, | 392 const Matcher<Node*>& value_matcher, |
392 const Matcher<Node*>& control_matcher); | 393 const Matcher<Node*>& control_matcher); |
393 | 394 |
394 } // namespace compiler | 395 } // namespace compiler |
395 } // namespace internal | 396 } // namespace internal |
396 } // namespace v8 | 397 } // namespace v8 |
397 | 398 |
398 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 399 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
OLD | NEW |