Chromium Code Reviews| 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 118 V(Label) \ | 118 V(Label) \ |
| 119 V(LazyBailout) \ | 119 V(LazyBailout) \ |
| 120 V(LoadContextSlot) \ | 120 V(LoadContextSlot) \ |
| 121 V(LoadElements) \ | 121 V(LoadElements) \ |
| 122 V(LoadExternalArrayPointer) \ | 122 V(LoadExternalArrayPointer) \ |
| 123 V(LoadFunctionPrototype) \ | 123 V(LoadFunctionPrototype) \ |
| 124 V(LoadGlobal) \ | 124 V(LoadGlobal) \ |
| 125 V(LoadKeyedFastElement) \ | 125 V(LoadKeyedFastElement) \ |
| 126 V(LoadKeyedGeneric) \ | 126 V(LoadKeyedGeneric) \ |
| 127 V(LoadNamedField) \ | 127 V(LoadNamedField) \ |
| 128 V(LoadNamedFieldPolymorphic) \ | |
| 128 V(LoadNamedGeneric) \ | 129 V(LoadNamedGeneric) \ |
| 129 V(LoadPixelArrayElement) \ | 130 V(LoadPixelArrayElement) \ |
| 130 V(ModI) \ | 131 V(ModI) \ |
| 131 V(MulI) \ | 132 V(MulI) \ |
| 132 V(NumberTagD) \ | 133 V(NumberTagD) \ |
| 133 V(NumberTagI) \ | 134 V(NumberTagI) \ |
| 134 V(NumberUntagD) \ | 135 V(NumberUntagD) \ |
| 135 V(ObjectLiteral) \ | 136 V(ObjectLiteral) \ |
| 136 V(OsrEntry) \ | 137 V(OsrEntry) \ |
| 137 V(OuterContext) \ | 138 V(OuterContext) \ |
| (...skipping 1029 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1167 public: | 1168 public: |
| 1168 explicit LLoadNamedField(LOperand* object) { | 1169 explicit LLoadNamedField(LOperand* object) { |
| 1169 inputs_[0] = object; | 1170 inputs_[0] = object; |
| 1170 } | 1171 } |
| 1171 | 1172 |
| 1172 DECLARE_CONCRETE_INSTRUCTION(LoadNamedField, "load-named-field") | 1173 DECLARE_CONCRETE_INSTRUCTION(LoadNamedField, "load-named-field") |
| 1173 DECLARE_HYDROGEN_ACCESSOR(LoadNamedField) | 1174 DECLARE_HYDROGEN_ACCESSOR(LoadNamedField) |
| 1174 }; | 1175 }; |
| 1175 | 1176 |
| 1176 | 1177 |
| 1178 class LLoadNamedFieldPolymorphic: public LTemplateInstruction<1, 1, 0> { | |
| 1179 public: | |
| 1180 explicit LLoadNamedFieldPolymorphic(LOperand* object) { | |
| 1181 inputs_[0] = object; | |
|
Kevin Millikin (Chromium)
2011/03/23 08:08:53
Should have an accessor for the operand.
fschneider
2011/03/23 13:57:56
Done.
| |
| 1182 } | |
| 1183 | |
| 1184 DECLARE_CONCRETE_INSTRUCTION(LoadNamedField, "load-named-field-polymorphic") | |
| 1185 DECLARE_HYDROGEN_ACCESSOR(LoadNamedFieldPolymorphic) | |
| 1186 }; | |
| 1187 | |
| 1188 | |
| 1177 class LLoadNamedGeneric: public LTemplateInstruction<1, 2, 0> { | 1189 class LLoadNamedGeneric: public LTemplateInstruction<1, 2, 0> { |
| 1178 public: | 1190 public: |
| 1179 LLoadNamedGeneric(LOperand* context, LOperand* object) { | 1191 LLoadNamedGeneric(LOperand* context, LOperand* object) { |
| 1180 inputs_[0] = context; | 1192 inputs_[0] = context; |
| 1181 inputs_[1] = object; | 1193 inputs_[1] = object; |
| 1182 } | 1194 } |
| 1183 | 1195 |
| 1184 DECLARE_CONCRETE_INSTRUCTION(LoadNamedGeneric, "load-named-generic") | 1196 DECLARE_CONCRETE_INSTRUCTION(LoadNamedGeneric, "load-named-generic") |
| 1185 DECLARE_HYDROGEN_ACCESSOR(LoadNamedGeneric) | 1197 DECLARE_HYDROGEN_ACCESSOR(LoadNamedGeneric) |
| 1186 | 1198 |
| (...skipping 977 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2164 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2176 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2165 }; | 2177 }; |
| 2166 | 2178 |
| 2167 #undef DECLARE_HYDROGEN_ACCESSOR | 2179 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2168 #undef DECLARE_INSTRUCTION | 2180 #undef DECLARE_INSTRUCTION |
| 2169 #undef DECLARE_CONCRETE_INSTRUCTION | 2181 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2170 | 2182 |
| 2171 } } // namespace v8::internal | 2183 } } // namespace v8::internal |
| 2172 | 2184 |
| 2173 #endif // V8_IA32_LITHIUM_IA32_H_ | 2185 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |