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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 V(IsObjectAndBranch) \ | 111 V(IsObjectAndBranch) \ |
112 V(IsSmi) \ | 112 V(IsSmi) \ |
113 V(IsSmiAndBranch) \ | 113 V(IsSmiAndBranch) \ |
114 V(JSArrayLength) \ | 114 V(JSArrayLength) \ |
115 V(Label) \ | 115 V(Label) \ |
116 V(LazyBailout) \ | 116 V(LazyBailout) \ |
117 V(LoadContextSlot) \ | 117 V(LoadContextSlot) \ |
118 V(LoadElements) \ | 118 V(LoadElements) \ |
119 V(LoadExternalArrayPointer) \ | 119 V(LoadExternalArrayPointer) \ |
120 V(LoadFunctionPrototype) \ | 120 V(LoadFunctionPrototype) \ |
121 V(LoadGlobal) \ | 121 V(LoadGlobalCell) \ |
| 122 V(LoadGlobalGeneric) \ |
122 V(LoadKeyedFastElement) \ | 123 V(LoadKeyedFastElement) \ |
123 V(LoadKeyedGeneric) \ | 124 V(LoadKeyedGeneric) \ |
124 V(LoadNamedField) \ | 125 V(LoadNamedField) \ |
125 V(LoadNamedGeneric) \ | 126 V(LoadNamedGeneric) \ |
126 V(LoadPixelArrayElement) \ | 127 V(LoadPixelArrayElement) \ |
127 V(ModI) \ | 128 V(ModI) \ |
128 V(MulI) \ | 129 V(MulI) \ |
129 V(NumberTagD) \ | 130 V(NumberTagD) \ |
130 V(NumberTagI) \ | 131 V(NumberTagI) \ |
131 V(NumberUntagD) \ | 132 V(NumberUntagD) \ |
(...skipping 1082 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1214 inputs_[1] = key; | 1215 inputs_[1] = key; |
1215 } | 1216 } |
1216 | 1217 |
1217 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedGeneric, "load-keyed-generic") | 1218 DECLARE_CONCRETE_INSTRUCTION(LoadKeyedGeneric, "load-keyed-generic") |
1218 | 1219 |
1219 LOperand* object() { return inputs_[0]; } | 1220 LOperand* object() { return inputs_[0]; } |
1220 LOperand* key() { return inputs_[1]; } | 1221 LOperand* key() { return inputs_[1]; } |
1221 }; | 1222 }; |
1222 | 1223 |
1223 | 1224 |
1224 class LLoadGlobal: public LTemplateInstruction<1, 0, 0> { | 1225 class LLoadGlobalCell: public LTemplateInstruction<1, 0, 0> { |
1225 public: | 1226 public: |
1226 DECLARE_CONCRETE_INSTRUCTION(LoadGlobal, "load-global") | 1227 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalCell, "load-global-cell") |
1227 DECLARE_HYDROGEN_ACCESSOR(LoadGlobal) | 1228 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalCell) |
| 1229 }; |
| 1230 |
| 1231 |
| 1232 class LLoadGlobalGeneric: public LTemplateInstruction<1, 0, 0> { |
| 1233 public: |
| 1234 DECLARE_CONCRETE_INSTRUCTION(LoadGlobalGeneric, "load-global-generic") |
| 1235 DECLARE_HYDROGEN_ACCESSOR(LoadGlobalGeneric) |
| 1236 |
| 1237 Handle<Object> name() const { return hydrogen()->name(); } |
| 1238 bool for_typeof() const { return hydrogen()->for_typeof(); } |
1228 }; | 1239 }; |
1229 | 1240 |
1230 | 1241 |
1231 class LStoreGlobal: public LTemplateInstruction<0, 1, 1> { | 1242 class LStoreGlobal: public LTemplateInstruction<0, 1, 1> { |
1232 public: | 1243 public: |
1233 LStoreGlobal(LOperand* value, LOperand* temp) { | 1244 LStoreGlobal(LOperand* value, LOperand* temp) { |
1234 inputs_[0] = value; | 1245 inputs_[0] = value; |
1235 temps_[0] = temp; | 1246 temps_[0] = temp; |
1236 } | 1247 } |
1237 | 1248 |
(...skipping 844 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2082 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2093 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2083 }; | 2094 }; |
2084 | 2095 |
2085 #undef DECLARE_HYDROGEN_ACCESSOR | 2096 #undef DECLARE_HYDROGEN_ACCESSOR |
2086 #undef DECLARE_INSTRUCTION | 2097 #undef DECLARE_INSTRUCTION |
2087 #undef DECLARE_CONCRETE_INSTRUCTION | 2098 #undef DECLARE_CONCRETE_INSTRUCTION |
2088 | 2099 |
2089 } } // namespace v8::internal | 2100 } } // namespace v8::internal |
2090 | 2101 |
2091 #endif // V8_ARM_LITHIUM_ARM_H_ | 2102 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |