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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 V(CheckNonSmi) \ | 73 V(CheckNonSmi) \ |
74 V(CheckPrototypeMaps) \ | 74 V(CheckPrototypeMaps) \ |
75 V(CheckSmi) \ | 75 V(CheckSmi) \ |
76 V(ClassOfTest) \ | 76 V(ClassOfTest) \ |
77 V(ClassOfTestAndBranch) \ | 77 V(ClassOfTestAndBranch) \ |
78 V(CmpID) \ | 78 V(CmpID) \ |
79 V(CmpIDAndBranch) \ | 79 V(CmpIDAndBranch) \ |
80 V(CmpJSObjectEq) \ | 80 V(CmpJSObjectEq) \ |
81 V(CmpJSObjectEqAndBranch) \ | 81 V(CmpJSObjectEqAndBranch) \ |
82 V(CmpMapAndBranch) \ | 82 V(CmpMapAndBranch) \ |
| 83 V(CmpSymbolEq) \ |
| 84 V(CmpSymbolEqAndBranch) \ |
83 V(CmpT) \ | 85 V(CmpT) \ |
84 V(CmpTAndBranch) \ | 86 V(CmpTAndBranch) \ |
85 V(ConstantD) \ | 87 V(ConstantD) \ |
86 V(ConstantI) \ | 88 V(ConstantI) \ |
87 V(ConstantT) \ | 89 V(ConstantT) \ |
88 V(Context) \ | 90 V(Context) \ |
89 V(DeleteProperty) \ | 91 V(DeleteProperty) \ |
90 V(Deoptimize) \ | 92 V(Deoptimize) \ |
91 V(DivI) \ | 93 V(DivI) \ |
92 V(DoubleToI) \ | 94 V(DoubleToI) \ |
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
657 LCmpJSObjectEqAndBranch(LOperand* left, LOperand* right) { | 659 LCmpJSObjectEqAndBranch(LOperand* left, LOperand* right) { |
658 inputs_[0] = left; | 660 inputs_[0] = left; |
659 inputs_[1] = right; | 661 inputs_[1] = right; |
660 } | 662 } |
661 | 663 |
662 DECLARE_CONCRETE_INSTRUCTION(CmpJSObjectEqAndBranch, | 664 DECLARE_CONCRETE_INSTRUCTION(CmpJSObjectEqAndBranch, |
663 "cmp-jsobject-eq-and-branch") | 665 "cmp-jsobject-eq-and-branch") |
664 }; | 666 }; |
665 | 667 |
666 | 668 |
| 669 class LCmpSymbolEq: public LTemplateInstruction<1, 2, 0> { |
| 670 public: |
| 671 LCmpSymbolEq(LOperand* left, LOperand* right) { |
| 672 inputs_[0] = left; |
| 673 inputs_[1] = right; |
| 674 } |
| 675 |
| 676 DECLARE_CONCRETE_INSTRUCTION(CmpSymbolEq, "cmp-symbol-eq") |
| 677 }; |
| 678 |
| 679 |
| 680 class LCmpSymbolEqAndBranch: public LControlInstruction<2, 0> { |
| 681 public: |
| 682 LCmpSymbolEqAndBranch(LOperand* left, LOperand* right) { |
| 683 inputs_[0] = left; |
| 684 inputs_[1] = right; |
| 685 } |
| 686 |
| 687 DECLARE_CONCRETE_INSTRUCTION(CmpSymbolEqAndBranch, "cmp-symbol-eq-and-branch") |
| 688 }; |
| 689 |
| 690 |
667 class LIsNull: public LTemplateInstruction<1, 1, 0> { | 691 class LIsNull: public LTemplateInstruction<1, 1, 0> { |
668 public: | 692 public: |
669 explicit LIsNull(LOperand* value) { | 693 explicit LIsNull(LOperand* value) { |
670 inputs_[0] = value; | 694 inputs_[0] = value; |
671 } | 695 } |
672 | 696 |
673 DECLARE_CONCRETE_INSTRUCTION(IsNull, "is-null") | 697 DECLARE_CONCRETE_INSTRUCTION(IsNull, "is-null") |
674 DECLARE_HYDROGEN_ACCESSOR(IsNull) | 698 DECLARE_HYDROGEN_ACCESSOR(IsNull) |
675 | 699 |
676 bool is_strict() const { return hydrogen()->is_strict(); } | 700 bool is_strict() const { return hydrogen()->is_strict(); } |
(...skipping 1552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2229 | 2253 |
2230 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2254 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2231 }; | 2255 }; |
2232 | 2256 |
2233 #undef DECLARE_HYDROGEN_ACCESSOR | 2257 #undef DECLARE_HYDROGEN_ACCESSOR |
2234 #undef DECLARE_CONCRETE_INSTRUCTION | 2258 #undef DECLARE_CONCRETE_INSTRUCTION |
2235 | 2259 |
2236 } } // namespace v8::int | 2260 } } // namespace v8::int |
2237 | 2261 |
2238 #endif // V8_X64_LITHIUM_X64_H_ | 2262 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |