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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 V(ConstantI) \ | 85 V(ConstantI) \ |
86 V(ConstantT) \ | 86 V(ConstantT) \ |
87 V(Context) \ | 87 V(Context) \ |
88 V(DeleteProperty) \ | 88 V(DeleteProperty) \ |
89 V(Deoptimize) \ | 89 V(Deoptimize) \ |
90 V(DivI) \ | 90 V(DivI) \ |
91 V(DoubleToI) \ | 91 V(DoubleToI) \ |
92 V(FixedArrayLength) \ | 92 V(FixedArrayLength) \ |
93 V(FunctionLiteral) \ | 93 V(FunctionLiteral) \ |
94 V(Gap) \ | 94 V(Gap) \ |
| 95 V(GetCachedArrayIndex) \ |
95 V(GlobalObject) \ | 96 V(GlobalObject) \ |
96 V(GlobalReceiver) \ | 97 V(GlobalReceiver) \ |
97 V(Goto) \ | 98 V(Goto) \ |
98 V(HasCachedArrayIndex) \ | 99 V(HasCachedArrayIndex) \ |
99 V(HasCachedArrayIndexAndBranch) \ | 100 V(HasCachedArrayIndexAndBranch) \ |
100 V(HasInstanceType) \ | 101 V(HasInstanceType) \ |
101 V(HasInstanceTypeAndBranch) \ | 102 V(HasInstanceTypeAndBranch) \ |
102 V(InstanceOf) \ | 103 V(InstanceOf) \ |
103 V(InstanceOfAndBranch) \ | 104 V(InstanceOfAndBranch) \ |
104 V(InstanceOfKnownGlobal) \ | 105 V(InstanceOfKnownGlobal) \ |
(...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
736 } | 737 } |
737 | 738 |
738 DECLARE_CONCRETE_INSTRUCTION(HasInstanceTypeAndBranch, | 739 DECLARE_CONCRETE_INSTRUCTION(HasInstanceTypeAndBranch, |
739 "has-instance-type-and-branch") | 740 "has-instance-type-and-branch") |
740 DECLARE_HYDROGEN_ACCESSOR(HasInstanceType) | 741 DECLARE_HYDROGEN_ACCESSOR(HasInstanceType) |
741 | 742 |
742 virtual void PrintDataTo(StringStream* stream); | 743 virtual void PrintDataTo(StringStream* stream); |
743 }; | 744 }; |
744 | 745 |
745 | 746 |
| 747 class LGetCachedArrayIndex: public LTemplateInstruction<1, 1, 0> { |
| 748 public: |
| 749 explicit LGetCachedArrayIndex(LOperand* value) { |
| 750 inputs_[0] = value; |
| 751 } |
| 752 |
| 753 DECLARE_CONCRETE_INSTRUCTION(GetCachedArrayIndex, "get-cached-array-index") |
| 754 DECLARE_HYDROGEN_ACCESSOR(GetCachedArrayIndex) |
| 755 }; |
| 756 |
| 757 |
746 class LHasCachedArrayIndex: public LTemplateInstruction<1, 1, 0> { | 758 class LHasCachedArrayIndex: public LTemplateInstruction<1, 1, 0> { |
747 public: | 759 public: |
748 explicit LHasCachedArrayIndex(LOperand* value) { | 760 explicit LHasCachedArrayIndex(LOperand* value) { |
749 inputs_[0] = value; | 761 inputs_[0] = value; |
750 } | 762 } |
751 | 763 |
752 DECLARE_CONCRETE_INSTRUCTION(HasCachedArrayIndex, "has-cached-array-index") | 764 DECLARE_CONCRETE_INSTRUCTION(HasCachedArrayIndex, "has-cached-array-index") |
753 DECLARE_HYDROGEN_ACCESSOR(HasCachedArrayIndex) | 765 DECLARE_HYDROGEN_ACCESSOR(HasCachedArrayIndex) |
754 }; | 766 }; |
755 | 767 |
(...skipping 1362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2118 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2130 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2119 }; | 2131 }; |
2120 | 2132 |
2121 #undef DECLARE_HYDROGEN_ACCESSOR | 2133 #undef DECLARE_HYDROGEN_ACCESSOR |
2122 #undef DECLARE_INSTRUCTION | 2134 #undef DECLARE_INSTRUCTION |
2123 #undef DECLARE_CONCRETE_INSTRUCTION | 2135 #undef DECLARE_CONCRETE_INSTRUCTION |
2124 | 2136 |
2125 } } // namespace v8::internal | 2137 } } // namespace v8::internal |
2126 | 2138 |
2127 #endif // V8_IA32_LITHIUM_IA32_H_ | 2139 #endif // V8_IA32_LITHIUM_IA32_H_ |
OLD | NEW |