| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 V(IsObjectAndBranch) \ | 112 V(IsObjectAndBranch) \ |
| 113 V(IsSmi) \ | 113 V(IsSmi) \ |
| 114 V(IsSmiAndBranch) \ | 114 V(IsSmiAndBranch) \ |
| 115 V(JSArrayLength) \ | 115 V(JSArrayLength) \ |
| 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(LoadGlobalCell) \ | 122 V(LoadGlobal) \ |
| 123 V(LoadGlobalGeneric) \ | |
| 124 V(LoadKeyedFastElement) \ | 123 V(LoadKeyedFastElement) \ |
| 125 V(LoadKeyedGeneric) \ | 124 V(LoadKeyedGeneric) \ |
| 126 V(LoadNamedField) \ | 125 V(LoadNamedField) \ |
| 127 V(LoadNamedGeneric) \ | 126 V(LoadNamedGeneric) \ |
| 128 V(LoadPixelArrayElement) \ | 127 V(LoadPixelArrayElement) \ |
| 129 V(ModI) \ | 128 V(ModI) \ |
| 130 V(MulI) \ | 129 V(MulI) \ |
| 131 V(NumberTagD) \ | 130 V(NumberTagD) \ |
| 132 V(NumberTagI) \ | 131 V(NumberTagI) \ |
| 133 V(NumberUntagD) \ | 132 V(NumberUntagD) \ |
| (...skipping 1082 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1216 inputs_[1] = key; | 1215 inputs_[1] = key; |
| 1217 } | 1216 } |
| 1218 | 1217 |
| 1219 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedGeneric, "load-keyed-generic") | 1218 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedGeneric, "load-keyed-generic") |
| 1220 | 1219 |
| 1221 LOperand* object() { return inputs_[0]; } | 1220 LOperand* object() { return inputs_[0]; } |
| 1222 LOperand* key() { return inputs_[1]; } | 1221 LOperand* key() { return inputs_[1]; } |
| 1223 }; | 1222 }; |
| 1224 | 1223 |
| 1225 | 1224 |
| 1226 class LLoadGlobalCell: public LTemplateInstruction<1, 0, 0> { | 1225 class LLoadGlobal: public LTemplateInstruction<1, 0, 0> { |
| 1227 public: | 1226 public: |
| 1228 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalCell, "load-global-cell") | 1227 DECLARE_CONCRETE_INSTRUCTION(LoadGlobal, "load-global") |
| 1229 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalCell) | 1228 DECLARE_HYDROGEN_ACCESSOR(LoadGlobal) |
| 1230 }; | |
| 1231 | |
| 1232 | |
| 1233 class LLoadGlobalGeneric: public LTemplateInstruction<1, 1, 0> { | |
| 1234 public: | |
| 1235 explicit LLoadGlobalGeneric(LOperand* global_object) { | |
| 1236 inputs_[0] = global_object; | |
| 1237 } | |
| 1238 | |
| 1239 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalGeneric, "load-global-generic") | |
| 1240 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalGeneric) | |
| 1241 | |
| 1242 LOperand* global_object() { return inputs_[0]; } | |
| 1243 Handle<Object> name() const { return hydrogen()->name(); } | |
| 1244 bool for_typeof() const { return hydrogen()->for_typeof(); } | |
| 1245 }; | 1229 }; |
| 1246 | 1230 |
| 1247 | 1231 |
| 1248 class LStoreGlobal: public LTemplateInstruction<0, 1, 1> { | 1232 class LStoreGlobal: public LTemplateInstruction<0, 1, 1> { |
| 1249 public: | 1233 public: |
| 1250 LStoreGlobal(LOperand* value, LOperand* temp) { | 1234 LStoreGlobal(LOperand* value, LOperand* temp) { |
| 1251 inputs_[0] = value; | 1235 inputs_[0] = value; |
| 1252 temps_[0] = temp; | 1236 temps_[0] = temp; |
| 1253 } | 1237 } |
| 1254 | 1238 |
| (...skipping 845 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2100 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2084 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2101 }; | 2085 }; |
| 2102 | 2086 |
| 2103 #undef DECLARE_HYDROGEN_ACCESSOR | 2087 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2104 #undef DECLARE_INSTRUCTION | 2088 #undef DECLARE_INSTRUCTION |
| 2105 #undef DECLARE_CONCRETE_INSTRUCTION | 2089 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2106 | 2090 |
| 2107 } } // namespace v8::internal | 2091 } } // namespace v8::internal |
| 2108 | 2092 |
| 2109 #endif // V8_ARM_LITHIUM_ARM_H_ | 2093 #endif // V8_ARM_LITHIUM_ARM_H_ |
| OLD | NEW |