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 710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
721 } | 721 } |
722 | 722 |
723 DECLARE_CONCRETE_INSTRUCTION(HasInstanceTypeAndBranch, | 723 DECLARE_CONCRETE_INSTRUCTION(HasInstanceTypeAndBranch, |
724 "has-instance-type-and-branch") | 724 "has-instance-type-and-branch") |
725 DECLARE_HYDROGEN_ACCESSOR(HasInstanceType) | 725 DECLARE_HYDROGEN_ACCESSOR(HasInstanceType) |
726 | 726 |
727 virtual void PrintDataTo(StringStream* stream); | 727 virtual void PrintDataTo(StringStream* stream); |
728 }; | 728 }; |
729 | 729 |
730 | 730 |
| 731 class LGetCachedArrayIndex: public LTemplateInstruction<1, 1, 0> { |
| 732 public: |
| 733 explicit LGetCachedArrayIndex(LOperand* value) { |
| 734 inputs_[0] = value; |
| 735 } |
| 736 |
| 737 DECLARE_CONCRETE_INSTRUCTION(GetCachedArrayIndex, "get-cached-array-index") |
| 738 DECLARE_HYDROGEN_ACCESSOR(GetCachedArrayIndex) |
| 739 }; |
| 740 |
| 741 |
731 class LHasCachedArrayIndex: public LTemplateInstruction<1, 1, 0> { | 742 class LHasCachedArrayIndex: public LTemplateInstruction<1, 1, 0> { |
732 public: | 743 public: |
733 explicit LHasCachedArrayIndex(LOperand* value) { | 744 explicit LHasCachedArrayIndex(LOperand* value) { |
734 inputs_[0] = value; | 745 inputs_[0] = value; |
735 } | 746 } |
736 | 747 |
737 DECLARE_CONCRETE_INSTRUCTION(HasCachedArrayIndex, "has-cached-array-index") | 748 DECLARE_CONCRETE_INSTRUCTION(HasCachedArrayIndex, "has-cached-array-index") |
738 DECLARE_HYDROGEN_ACCESSOR(HasCachedArrayIndex) | 749 DECLARE_HYDROGEN_ACCESSOR(HasCachedArrayIndex) |
739 }; | 750 }; |
740 | 751 |
741 | 752 |
742 class LGetCachedArrayIndex: public LTemplateInstruction<1, 1, 0> { | |
743 public: | |
744 explicit LGetCachedArrayIndex(LOperand* value) { | |
745 inputs_[0] = value; | |
746 } | |
747 | |
748 DECLARE_CONCRETE_INSTRUCTION(GetCachedArrayIndex, "get-cached-array-index") | |
749 DECLARE_HYDROGEN_ACCESSOR(GetCachedArrayIndex) | |
750 }; | |
751 | |
752 | |
753 class LHasCachedArrayIndexAndBranch: public LControlInstruction<1, 0> { | 753 class LHasCachedArrayIndexAndBranch: public LControlInstruction<1, 0> { |
754 public: | 754 public: |
755 explicit LHasCachedArrayIndexAndBranch(LOperand* value) { | 755 explicit LHasCachedArrayIndexAndBranch(LOperand* value) { |
756 inputs_[0] = value; | 756 inputs_[0] = value; |
757 } | 757 } |
758 | 758 |
759 DECLARE_CONCRETE_INSTRUCTION(HasCachedArrayIndexAndBranch, | 759 DECLARE_CONCRETE_INSTRUCTION(HasCachedArrayIndexAndBranch, |
760 "has-cached-array-index-and-branch") | 760 "has-cached-array-index-and-branch") |
761 virtual void PrintDataTo(StringStream* stream); | 761 virtual void PrintDataTo(StringStream* stream); |
762 }; | 762 }; |
(...skipping 1274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2037 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2037 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2038 }; | 2038 }; |
2039 | 2039 |
2040 #undef DECLARE_HYDROGEN_ACCESSOR | 2040 #undef DECLARE_HYDROGEN_ACCESSOR |
2041 #undef DECLARE_INSTRUCTION | 2041 #undef DECLARE_INSTRUCTION |
2042 #undef DECLARE_CONCRETE_INSTRUCTION | 2042 #undef DECLARE_CONCRETE_INSTRUCTION |
2043 | 2043 |
2044 } } // namespace v8::internal | 2044 } } // namespace v8::internal |
2045 | 2045 |
2046 #endif // V8_ARM_LITHIUM_ARM_H_ | 2046 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |