| 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.h" |    9 #include "src/types.h" | 
|   10 #include "test/unittests/test-utils.h" |   10 #include "test/unittests/test-utils.h" | 
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   58     PURE(NumberToUint32, Operator::kNoProperties, 1), |   58     PURE(NumberToUint32, Operator::kNoProperties, 1), | 
|   59     PURE(PlainPrimitiveToNumber, Operator::kNoProperties, 1), |   59     PURE(PlainPrimitiveToNumber, Operator::kNoProperties, 1), | 
|   60     PURE(ChangeTaggedToInt32, Operator::kNoProperties, 1), |   60     PURE(ChangeTaggedToInt32, Operator::kNoProperties, 1), | 
|   61     PURE(ChangeTaggedToUint32, Operator::kNoProperties, 1), |   61     PURE(ChangeTaggedToUint32, Operator::kNoProperties, 1), | 
|   62     PURE(ChangeTaggedToFloat64, Operator::kNoProperties, 1), |   62     PURE(ChangeTaggedToFloat64, Operator::kNoProperties, 1), | 
|   63     PURE(ChangeInt32ToTagged, Operator::kNoProperties, 1), |   63     PURE(ChangeInt32ToTagged, Operator::kNoProperties, 1), | 
|   64     PURE(ChangeUint32ToTagged, Operator::kNoProperties, 1), |   64     PURE(ChangeUint32ToTagged, Operator::kNoProperties, 1), | 
|   65     PURE(ChangeFloat64ToTagged, Operator::kNoProperties, 1), |   65     PURE(ChangeFloat64ToTagged, Operator::kNoProperties, 1), | 
|   66     PURE(ChangeBoolToBit, Operator::kNoProperties, 1), |   66     PURE(ChangeBoolToBit, Operator::kNoProperties, 1), | 
|   67     PURE(ChangeBitToBool, Operator::kNoProperties, 1), |   67     PURE(ChangeBitToBool, Operator::kNoProperties, 1), | 
|   68     PURE(ObjectIsNumber, Operator::kNoProperties, 1), |  | 
|   69     PURE(ObjectIsReceiver, Operator::kNoProperties, 1), |   68     PURE(ObjectIsReceiver, Operator::kNoProperties, 1), | 
|   70     PURE(ObjectIsSmi, Operator::kNoProperties, 1) |   69     PURE(ObjectIsSmi, Operator::kNoProperties, 1) | 
|   71 #undef PURE |   70 #undef PURE | 
|   72 }; |   71 }; | 
|   73  |   72  | 
|   74 }  // namespace |   73 }  // namespace | 
|   75  |   74  | 
|   76  |   75  | 
|   77 class SimplifiedPureOperatorTest |   76 class SimplifiedPureOperatorTest | 
|   78     : public TestWithZone, |   77     : public TestWithZone, | 
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  285 } |  284 } | 
|  286  |  285  | 
|  287  |  286  | 
|  288 INSTANTIATE_TEST_CASE_P(SimplifiedOperatorTest, |  287 INSTANTIATE_TEST_CASE_P(SimplifiedOperatorTest, | 
|  289                         SimplifiedElementAccessOperatorTest, |  288                         SimplifiedElementAccessOperatorTest, | 
|  290                         ::testing::ValuesIn(kElementAccesses)); |  289                         ::testing::ValuesIn(kElementAccesses)); | 
|  291  |  290  | 
|  292 }  // namespace compiler |  291 }  // namespace compiler | 
|  293 }  // namespace internal |  292 }  // namespace internal | 
|  294 }  // namespace v8 |  293 }  // namespace v8 | 
| OLD | NEW |