OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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/simplified-operator.h" | 5 #include "src/compiler/simplified-operator.h" |
6 | 6 |
7 #include "src/base/lazy-instance.h" | 7 #include "src/base/lazy-instance.h" |
8 #include "src/compiler/opcodes.h" | 8 #include "src/compiler/opcodes.h" |
9 #include "src/compiler/operator.h" | 9 #include "src/compiler/operator.h" |
10 #include "src/types.h" | 10 #include "src/types.h" |
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 V(ChangeTaggedToUint32, Operator::kNoProperties, 1) \ | 337 V(ChangeTaggedToUint32, Operator::kNoProperties, 1) \ |
338 V(ChangeTaggedToFloat64, Operator::kNoProperties, 1) \ | 338 V(ChangeTaggedToFloat64, Operator::kNoProperties, 1) \ |
339 V(ChangeInt31ToTaggedSigned, Operator::kNoProperties, 1) \ | 339 V(ChangeInt31ToTaggedSigned, Operator::kNoProperties, 1) \ |
340 V(ChangeInt32ToTagged, Operator::kNoProperties, 1) \ | 340 V(ChangeInt32ToTagged, Operator::kNoProperties, 1) \ |
341 V(ChangeUint32ToTagged, Operator::kNoProperties, 1) \ | 341 V(ChangeUint32ToTagged, Operator::kNoProperties, 1) \ |
342 V(ChangeFloat64ToTagged, Operator::kNoProperties, 1) \ | 342 V(ChangeFloat64ToTagged, Operator::kNoProperties, 1) \ |
343 V(ChangeTaggedToBit, Operator::kNoProperties, 1) \ | 343 V(ChangeTaggedToBit, Operator::kNoProperties, 1) \ |
344 V(ChangeBitToTagged, Operator::kNoProperties, 1) \ | 344 V(ChangeBitToTagged, Operator::kNoProperties, 1) \ |
345 V(TruncateTaggedToWord32, Operator::kNoProperties, 1) \ | 345 V(TruncateTaggedToWord32, Operator::kNoProperties, 1) \ |
346 V(TruncateTaggedToFloat64, Operator::kNoProperties, 1) \ | 346 V(TruncateTaggedToFloat64, Operator::kNoProperties, 1) \ |
347 V(TruncateTaggedToBit, Operator::kNoProperties, 1) \ | |
348 V(ObjectIsCallable, Operator::kNoProperties, 1) \ | 347 V(ObjectIsCallable, Operator::kNoProperties, 1) \ |
349 V(ObjectIsNumber, Operator::kNoProperties, 1) \ | 348 V(ObjectIsNumber, Operator::kNoProperties, 1) \ |
350 V(ObjectIsReceiver, Operator::kNoProperties, 1) \ | 349 V(ObjectIsReceiver, Operator::kNoProperties, 1) \ |
351 V(ObjectIsSmi, Operator::kNoProperties, 1) \ | 350 V(ObjectIsSmi, Operator::kNoProperties, 1) \ |
352 V(ObjectIsString, Operator::kNoProperties, 1) \ | 351 V(ObjectIsString, Operator::kNoProperties, 1) \ |
353 V(ObjectIsUndetectable, Operator::kNoProperties, 1) \ | 352 V(ObjectIsUndetectable, Operator::kNoProperties, 1) \ |
354 V(StringEqual, Operator::kCommutative, 2) \ | 353 V(StringEqual, Operator::kCommutative, 2) \ |
355 V(StringLessThan, Operator::kNoProperties, 2) \ | 354 V(StringLessThan, Operator::kNoProperties, 2) \ |
356 V(StringLessThanOrEqual, Operator::kNoProperties, 2) | 355 V(StringLessThanOrEqual, Operator::kNoProperties, 2) |
357 | 356 |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
632 Operator::kNoDeopt | Operator::kNoThrow | properties, \ | 631 Operator::kNoDeopt | Operator::kNoThrow | properties, \ |
633 #Name, value_input_count, 1, control_input_count, \ | 632 #Name, value_input_count, 1, control_input_count, \ |
634 output_count, 1, 0, access); \ | 633 output_count, 1, 0, access); \ |
635 } | 634 } |
636 ACCESS_OP_LIST(ACCESS) | 635 ACCESS_OP_LIST(ACCESS) |
637 #undef ACCESS | 636 #undef ACCESS |
638 | 637 |
639 } // namespace compiler | 638 } // namespace compiler |
640 } // namespace internal | 639 } // namespace internal |
641 } // namespace v8 | 640 } // namespace v8 |
OLD | NEW |