OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 V(CheckMap) \ | 66 V(CheckMap) \ |
67 V(CheckNonSmi) \ | 67 V(CheckNonSmi) \ |
68 V(CheckPrototypeMaps) \ | 68 V(CheckPrototypeMaps) \ |
69 V(CheckSmi) \ | 69 V(CheckSmi) \ |
70 V(ClassOfTest) \ | 70 V(ClassOfTest) \ |
71 V(ClassOfTestAndBranch) \ | 71 V(ClassOfTestAndBranch) \ |
72 V(CmpID) \ | 72 V(CmpID) \ |
73 V(CmpIDAndBranch) \ | 73 V(CmpIDAndBranch) \ |
74 V(CmpJSObjectEq) \ | 74 V(CmpJSObjectEq) \ |
75 V(CmpJSObjectEqAndBranch) \ | 75 V(CmpJSObjectEqAndBranch) \ |
| 76 V(CmpSymbolEq) \ |
| 77 V(CmpSymbolEqAndBranch) \ |
76 V(CmpMapAndBranch) \ | 78 V(CmpMapAndBranch) \ |
77 V(CmpT) \ | 79 V(CmpT) \ |
78 V(CmpTAndBranch) \ | 80 V(CmpTAndBranch) \ |
79 V(ConstantD) \ | 81 V(ConstantD) \ |
80 V(ConstantI) \ | 82 V(ConstantI) \ |
81 V(ConstantT) \ | 83 V(ConstantT) \ |
82 V(Context) \ | 84 V(Context) \ |
83 V(DeleteProperty) \ | 85 V(DeleteProperty) \ |
84 V(Deoptimize) \ | 86 V(Deoptimize) \ |
85 V(DivI) \ | 87 V(DivI) \ |
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
659 LCmpJSObjectEqAndBranch(LOperand* left, LOperand* right) { | 661 LCmpJSObjectEqAndBranch(LOperand* left, LOperand* right) { |
660 inputs_[0] = left; | 662 inputs_[0] = left; |
661 inputs_[1] = right; | 663 inputs_[1] = right; |
662 } | 664 } |
663 | 665 |
664 DECLARE_CONCRETE_INSTRUCTION(CmpJSObjectEqAndBranch, | 666 DECLARE_CONCRETE_INSTRUCTION(CmpJSObjectEqAndBranch, |
665 "cmp-jsobject-eq-and-branch") | 667 "cmp-jsobject-eq-and-branch") |
666 }; | 668 }; |
667 | 669 |
668 | 670 |
| 671 class LCmpSymbolEq: public LTemplateInstruction<1, 2, 0> { |
| 672 public: |
| 673 LCmpSymbolEq(LOperand* left, LOperand* right) { |
| 674 inputs_[0] = left; |
| 675 inputs_[1] = right; |
| 676 } |
| 677 |
| 678 DECLARE_CONCRETE_INSTRUCTION(CmpSymbolEq, "cmp-symbol-eq") |
| 679 }; |
| 680 |
| 681 |
| 682 class LCmpSymbolEqAndBranch: public LControlInstruction<2, 0> { |
| 683 public: |
| 684 LCmpSymbolEqAndBranch(LOperand* left, LOperand* right) { |
| 685 inputs_[0] = left; |
| 686 inputs_[1] = right; |
| 687 } |
| 688 |
| 689 DECLARE_CONCRETE_INSTRUCTION(CmpSymbolEqAndBranch, "cmp-symbol-eq-and-branch") |
| 690 }; |
| 691 |
| 692 |
669 class LIsNull: public LTemplateInstruction<1, 1, 0> { | 693 class LIsNull: public LTemplateInstruction<1, 1, 0> { |
670 public: | 694 public: |
671 explicit LIsNull(LOperand* value) { | 695 explicit LIsNull(LOperand* value) { |
672 inputs_[0] = value; | 696 inputs_[0] = value; |
673 } | 697 } |
674 | 698 |
675 DECLARE_CONCRETE_INSTRUCTION(IsNull, "is-null") | 699 DECLARE_CONCRETE_INSTRUCTION(IsNull, "is-null") |
676 DECLARE_HYDROGEN_ACCESSOR(IsNull) | 700 DECLARE_HYDROGEN_ACCESSOR(IsNull) |
677 | 701 |
678 bool is_strict() const { return hydrogen()->is_strict(); } | 702 bool is_strict() const { return hydrogen()->is_strict(); } |
(...skipping 1619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2298 | 2322 |
2299 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2323 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2300 }; | 2324 }; |
2301 | 2325 |
2302 #undef DECLARE_HYDROGEN_ACCESSOR | 2326 #undef DECLARE_HYDROGEN_ACCESSOR |
2303 #undef DECLARE_CONCRETE_INSTRUCTION | 2327 #undef DECLARE_CONCRETE_INSTRUCTION |
2304 | 2328 |
2305 } } // namespace v8::internal | 2329 } } // namespace v8::internal |
2306 | 2330 |
2307 #endif // V8_IA32_LITHIUM_IA32_H_ | 2331 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |