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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 V(Label) \ | 116 V(Label) \ |
117 V(LazyBailout) \ | 117 V(LazyBailout) \ |
118 V(LoadContextSlot) \ | 118 V(LoadContextSlot) \ |
119 V(LoadElements) \ | 119 V(LoadElements) \ |
120 V(LoadExternalArrayPointer) \ | 120 V(LoadExternalArrayPointer) \ |
121 V(LoadFunctionPrototype) \ | 121 V(LoadFunctionPrototype) \ |
122 V(LoadGlobal) \ | 122 V(LoadGlobal) \ |
123 V(LoadKeyedFastElement) \ | 123 V(LoadKeyedFastElement) \ |
124 V(LoadKeyedGeneric) \ | 124 V(LoadKeyedGeneric) \ |
125 V(LoadNamedField) \ | 125 V(LoadNamedField) \ |
| 126 V(LoadNamedFieldPolymorphic) \ |
126 V(LoadNamedGeneric) \ | 127 V(LoadNamedGeneric) \ |
127 V(LoadPixelArrayElement) \ | 128 V(LoadPixelArrayElement) \ |
128 V(ModI) \ | 129 V(ModI) \ |
129 V(MulI) \ | 130 V(MulI) \ |
130 V(NumberTagD) \ | 131 V(NumberTagD) \ |
131 V(NumberTagI) \ | 132 V(NumberTagI) \ |
132 V(NumberUntagD) \ | 133 V(NumberUntagD) \ |
133 V(ObjectLiteral) \ | 134 V(ObjectLiteral) \ |
134 V(OsrEntry) \ | 135 V(OsrEntry) \ |
135 V(OuterContext) \ | 136 V(OuterContext) \ |
(...skipping 987 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1123 public: | 1124 public: |
1124 explicit LLoadNamedField(LOperand* object) { | 1125 explicit LLoadNamedField(LOperand* object) { |
1125 inputs_[0] = object; | 1126 inputs_[0] = object; |
1126 } | 1127 } |
1127 | 1128 |
1128 DECLARE_CONCRETE_INSTRUCTION(LoadNamedField, "load-named-field") | 1129 DECLARE_CONCRETE_INSTRUCTION(LoadNamedField, "load-named-field") |
1129 DECLARE_HYDROGEN_ACCESSOR(LoadNamedField) | 1130 DECLARE_HYDROGEN_ACCESSOR(LoadNamedField) |
1130 }; | 1131 }; |
1131 | 1132 |
1132 | 1133 |
| 1134 class LLoadNamedFieldPolymorphic: public LTemplateInstruction<1, 1, 0> { |
| 1135 public: |
| 1136 explicit LLoadNamedFieldPolymorphic(LOperand* object) { |
| 1137 inputs_[0] = object; |
| 1138 } |
| 1139 |
| 1140 DECLARE_CONCRETE_INSTRUCTION(LoadNamedField, "load-named-field-polymorphic") |
| 1141 DECLARE_HYDROGEN_ACCESSOR(LoadNamedFieldPolymorphic) |
| 1142 |
| 1143 LOperand* object() { return inputs_[0]; } |
| 1144 }; |
| 1145 |
| 1146 |
1133 class LLoadNamedGeneric: public LTemplateInstruction<1, 1, 0> { | 1147 class LLoadNamedGeneric: public LTemplateInstruction<1, 1, 0> { |
1134 public: | 1148 public: |
1135 explicit LLoadNamedGeneric(LOperand* object) { | 1149 explicit LLoadNamedGeneric(LOperand* object) { |
1136 inputs_[0] = object; | 1150 inputs_[0] = object; |
1137 } | 1151 } |
1138 | 1152 |
1139 DECLARE_CONCRETE_INSTRUCTION(LoadNamedGeneric, "load-named-generic") | 1153 DECLARE_CONCRETE_INSTRUCTION(LoadNamedGeneric, "load-named-generic") |
1140 DECLARE_HYDROGEN_ACCESSOR(LoadNamedGeneric) | 1154 DECLARE_HYDROGEN_ACCESSOR(LoadNamedGeneric) |
1141 | 1155 |
1142 LOperand* object() { return inputs_[0]; } | 1156 LOperand* object() { return inputs_[0]; } |
(...skipping 953 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2096 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2110 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2097 }; | 2111 }; |
2098 | 2112 |
2099 #undef DECLARE_HYDROGEN_ACCESSOR | 2113 #undef DECLARE_HYDROGEN_ACCESSOR |
2100 #undef DECLARE_INSTRUCTION | 2114 #undef DECLARE_INSTRUCTION |
2101 #undef DECLARE_CONCRETE_INSTRUCTION | 2115 #undef DECLARE_CONCRETE_INSTRUCTION |
2102 | 2116 |
2103 } } // namespace v8::internal | 2117 } } // namespace v8::internal |
2104 | 2118 |
2105 #endif // V8_ARM_LITHIUM_ARM_H_ | 2119 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |