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 #include "src/compiler/opcodes.h" | 5 #include "src/compiler/opcodes.h" |
6 #include "src/compiler/operator.h" | 6 #include "src/compiler/operator.h" |
7 #include "src/compiler/operator-properties.h" | 7 #include "src/compiler/operator-properties.h" |
8 #include "src/compiler/simplified-operator.h" | 8 #include "src/compiler/simplified-operator.h" |
9 #include "src/types-inl.h" | 9 #include "src/types-inl.h" |
10 #include "test/unittests/test-utils.h" | 10 #include "test/unittests/test-utils.h" |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 PURE(StringLessThan, Operator::kNoProperties, 2), | 55 PURE(StringLessThan, Operator::kNoProperties, 2), |
56 PURE(StringLessThanOrEqual, Operator::kNoProperties, 2), | 56 PURE(StringLessThanOrEqual, Operator::kNoProperties, 2), |
57 PURE(StringAdd, Operator::kNoProperties, 2), | 57 PURE(StringAdd, Operator::kNoProperties, 2), |
58 PURE(ChangeTaggedToInt32, Operator::kNoProperties, 1), | 58 PURE(ChangeTaggedToInt32, Operator::kNoProperties, 1), |
59 PURE(ChangeTaggedToUint32, Operator::kNoProperties, 1), | 59 PURE(ChangeTaggedToUint32, Operator::kNoProperties, 1), |
60 PURE(ChangeTaggedToFloat64, Operator::kNoProperties, 1), | 60 PURE(ChangeTaggedToFloat64, Operator::kNoProperties, 1), |
61 PURE(ChangeInt32ToTagged, Operator::kNoProperties, 1), | 61 PURE(ChangeInt32ToTagged, Operator::kNoProperties, 1), |
62 PURE(ChangeUint32ToTagged, Operator::kNoProperties, 1), | 62 PURE(ChangeUint32ToTagged, Operator::kNoProperties, 1), |
63 PURE(ChangeFloat64ToTagged, Operator::kNoProperties, 1), | 63 PURE(ChangeFloat64ToTagged, Operator::kNoProperties, 1), |
64 PURE(ChangeBoolToBit, Operator::kNoProperties, 1), | 64 PURE(ChangeBoolToBit, Operator::kNoProperties, 1), |
| 65 PURE(ChangeWord32ToBit, Operator::kNoProperties, 1), |
| 66 PURE(ChangeWord64ToBit, Operator::kNoProperties, 1), |
65 PURE(ChangeBitToBool, Operator::kNoProperties, 1), | 67 PURE(ChangeBitToBool, Operator::kNoProperties, 1), |
66 PURE(ObjectIsSmi, Operator::kNoProperties, 1), | 68 PURE(ObjectIsSmi, Operator::kNoProperties, 1), |
67 PURE(ObjectIsNonNegativeSmi, Operator::kNoProperties, 1) | 69 PURE(ObjectIsNonNegativeSmi, Operator::kNoProperties, 1) |
68 #undef PURE | 70 #undef PURE |
69 }; | 71 }; |
70 | 72 |
71 } // namespace | 73 } // namespace |
72 | 74 |
73 | 75 |
74 class SimplifiedPureOperatorTest | 76 class SimplifiedPureOperatorTest |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 } | 281 } |
280 | 282 |
281 | 283 |
282 INSTANTIATE_TEST_CASE_P(SimplifiedOperatorTest, | 284 INSTANTIATE_TEST_CASE_P(SimplifiedOperatorTest, |
283 SimplifiedElementAccessOperatorTest, | 285 SimplifiedElementAccessOperatorTest, |
284 ::testing::ValuesIn(kElementAccesses)); | 286 ::testing::ValuesIn(kElementAccesses)); |
285 | 287 |
286 } // namespace compiler | 288 } // namespace compiler |
287 } // namespace internal | 289 } // namespace internal |
288 } // namespace v8 | 290 } // namespace v8 |
OLD | NEW |