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 1236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1247 }; | 1247 }; |
1248 | 1248 |
1249 | 1249 |
1250 class LLoadGlobal: public LTemplateInstruction<1, 0, 0> { | 1250 class LLoadGlobal: public LTemplateInstruction<1, 0, 0> { |
1251 public: | 1251 public: |
1252 DECLARE_CONCRETE_INSTRUCTION(LoadGlobal, "load-global") | 1252 DECLARE_CONCRETE_INSTRUCTION(LoadGlobal, "load-global") |
1253 DECLARE_HYDROGEN_ACCESSOR(LoadGlobal) | 1253 DECLARE_HYDROGEN_ACCESSOR(LoadGlobal) |
1254 }; | 1254 }; |
1255 | 1255 |
1256 | 1256 |
1257 class LStoreGlobal: public LTemplateInstruction<0, 1, 0> { | 1257 class LStoreGlobal: public LTemplateInstruction<0, 1, 1> { |
1258 public: | 1258 public: |
1259 explicit LStoreGlobal(LOperand* value) { | 1259 LStoreGlobal(LOperand* value, LOperand* temp) { |
1260 inputs_[0] = value; | 1260 inputs_[0] = value; |
| 1261 temps_[0] = temp; |
1261 } | 1262 } |
1262 | 1263 |
1263 DECLARE_CONCRETE_INSTRUCTION(StoreGlobal, "store-global") | 1264 DECLARE_CONCRETE_INSTRUCTION(StoreGlobal, "store-global") |
1264 DECLARE_HYDROGEN_ACCESSOR(StoreGlobal) | 1265 DECLARE_HYDROGEN_ACCESSOR(StoreGlobal) |
1265 }; | 1266 }; |
1266 | 1267 |
1267 | 1268 |
1268 class LLoadContextSlot: public LTemplateInstruction<1, 0, 0> { | 1269 class LLoadContextSlot: public LTemplateInstruction<1, 0, 0> { |
1269 public: | 1270 public: |
1270 DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot") | 1271 DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot") |
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1994 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 1995 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
1995 }; | 1996 }; |
1996 | 1997 |
1997 #undef DECLARE_HYDROGEN_ACCESSOR | 1998 #undef DECLARE_HYDROGEN_ACCESSOR |
1998 #undef DECLARE_INSTRUCTION | 1999 #undef DECLARE_INSTRUCTION |
1999 #undef DECLARE_CONCRETE_INSTRUCTION | 2000 #undef DECLARE_CONCRETE_INSTRUCTION |
2000 | 2001 |
2001 } } // namespace v8::internal | 2002 } } // namespace v8::internal |
2002 | 2003 |
2003 #endif // V8_ARM_LITHIUM_ARM_H_ | 2004 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |