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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 V(ConstantI) \ | 87 V(ConstantI) \ |
88 V(ConstantT) \ | 88 V(ConstantT) \ |
89 V(Context) \ | 89 V(Context) \ |
90 V(DeleteProperty) \ | 90 V(DeleteProperty) \ |
91 V(Deoptimize) \ | 91 V(Deoptimize) \ |
92 V(DivI) \ | 92 V(DivI) \ |
93 V(DoubleToI) \ | 93 V(DoubleToI) \ |
94 V(FixedArrayLength) \ | 94 V(FixedArrayLength) \ |
95 V(FunctionLiteral) \ | 95 V(FunctionLiteral) \ |
96 V(Gap) \ | 96 V(Gap) \ |
| 97 V(GetCachedArrayIndex) \ |
97 V(GlobalObject) \ | 98 V(GlobalObject) \ |
98 V(GlobalReceiver) \ | 99 V(GlobalReceiver) \ |
99 V(Goto) \ | 100 V(Goto) \ |
100 V(HasCachedArrayIndex) \ | 101 V(HasCachedArrayIndex) \ |
101 V(HasCachedArrayIndexAndBranch) \ | 102 V(HasCachedArrayIndexAndBranch) \ |
102 V(HasInstanceType) \ | 103 V(HasInstanceType) \ |
103 V(HasInstanceTypeAndBranch) \ | 104 V(HasInstanceTypeAndBranch) \ |
104 V(InstanceOf) \ | 105 V(InstanceOf) \ |
105 V(InstanceOfAndBranch) \ | 106 V(InstanceOfAndBranch) \ |
106 V(InstanceOfKnownGlobal) \ | 107 V(InstanceOfKnownGlobal) \ |
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
732 public: | 733 public: |
733 explicit LHasCachedArrayIndex(LOperand* value) { | 734 explicit LHasCachedArrayIndex(LOperand* value) { |
734 inputs_[0] = value; | 735 inputs_[0] = value; |
735 } | 736 } |
736 | 737 |
737 DECLARE_CONCRETE_INSTRUCTION(HasCachedArrayIndex, "has-cached-array-index") | 738 DECLARE_CONCRETE_INSTRUCTION(HasCachedArrayIndex, "has-cached-array-index") |
738 DECLARE_HYDROGEN_ACCESSOR(HasCachedArrayIndex) | 739 DECLARE_HYDROGEN_ACCESSOR(HasCachedArrayIndex) |
739 }; | 740 }; |
740 | 741 |
741 | 742 |
| 743 class LGetCachedArrayIndex: public LTemplateInstruction<1, 1, 0> { |
| 744 public: |
| 745 explicit LGetCachedArrayIndex(LOperand* value) { |
| 746 inputs_[0] = value; |
| 747 } |
| 748 |
| 749 DECLARE_CONCRETE_INSTRUCTION(GetCachedArrayIndex, "get-cached-array-index") |
| 750 DECLARE_HYDROGEN_ACCESSOR(GetCachedArrayIndex) |
| 751 }; |
| 752 |
| 753 |
742 class LHasCachedArrayIndexAndBranch: public LControlInstruction<1, 0> { | 754 class LHasCachedArrayIndexAndBranch: public LControlInstruction<1, 0> { |
743 public: | 755 public: |
744 explicit LHasCachedArrayIndexAndBranch(LOperand* value) { | 756 explicit LHasCachedArrayIndexAndBranch(LOperand* value) { |
745 inputs_[0] = value; | 757 inputs_[0] = value; |
746 } | 758 } |
747 | 759 |
748 DECLARE_CONCRETE_INSTRUCTION(HasCachedArrayIndexAndBranch, | 760 DECLARE_CONCRETE_INSTRUCTION(HasCachedArrayIndexAndBranch, |
749 "has-cached-array-index-and-branch") | 761 "has-cached-array-index-and-branch") |
750 virtual void PrintDataTo(StringStream* stream); | 762 virtual void PrintDataTo(StringStream* stream); |
751 }; | 763 }; |
(...skipping 1264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2016 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2028 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2017 }; | 2029 }; |
2018 | 2030 |
2019 #undef DECLARE_HYDROGEN_ACCESSOR | 2031 #undef DECLARE_HYDROGEN_ACCESSOR |
2020 #undef DECLARE_INSTRUCTION | 2032 #undef DECLARE_INSTRUCTION |
2021 #undef DECLARE_CONCRETE_INSTRUCTION | 2033 #undef DECLARE_CONCRETE_INSTRUCTION |
2022 | 2034 |
2023 } } // namespace v8::internal | 2035 } } // namespace v8::internal |
2024 | 2036 |
2025 #endif // V8_ARM_LITHIUM_ARM_H_ | 2037 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |