| 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 1385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1396 class LStoreGlobalCell: public LTemplateInstruction<0, 1, 2> { | 1396 class LStoreGlobalCell: public LTemplateInstruction<0, 1, 2> { |
| 1397 public: | 1397 public: |
| 1398 explicit LStoreGlobalCell(LOperand* value, LOperand* temp1, LOperand* temp2) { | 1398 explicit LStoreGlobalCell(LOperand* value, LOperand* temp1, LOperand* temp2) { |
| 1399 inputs_[0] = value; | 1399 inputs_[0] = value; |
| 1400 temps_[0] = temp1; | 1400 temps_[0] = temp1; |
| 1401 temps_[1] = temp2; | 1401 temps_[1] = temp2; |
| 1402 } | 1402 } |
| 1403 | 1403 |
| 1404 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalCell, "store-global-cell") | 1404 DECLARE_CONCRETE_INSTRUCTION(StoreGlobalCell, "store-global-cell") |
| 1405 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalCell) | 1405 DECLARE_HYDROGEN_ACCESSOR(StoreGlobalCell) |
| 1406 | |
| 1407 private: | |
| 1408 LOperand* temp1_; | |
| 1409 LOperand* temp2_; | |
| 1410 }; | 1406 }; |
| 1411 | 1407 |
| 1412 | 1408 |
| 1413 class LStoreGlobalGeneric: public LTemplateInstruction<0, 3, 0> { | 1409 class LStoreGlobalGeneric: public LTemplateInstruction<0, 3, 0> { |
| 1414 public: | 1410 public: |
| 1415 explicit LStoreGlobalGeneric(LOperand* context, | 1411 explicit LStoreGlobalGeneric(LOperand* context, |
| 1416 LOperand* global_object, | 1412 LOperand* global_object, |
| 1417 LOperand* value) { | 1413 LOperand* value) { |
| 1418 inputs_[0] = context; | 1414 inputs_[0] = context; |
| 1419 inputs_[1] = global_object; | 1415 inputs_[1] = global_object; |
| (...skipping 973 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2393 | 2389 |
| 2394 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2390 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2395 }; | 2391 }; |
| 2396 | 2392 |
| 2397 #undef DECLARE_HYDROGEN_ACCESSOR | 2393 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2398 #undef DECLARE_CONCRETE_INSTRUCTION | 2394 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2399 | 2395 |
| 2400 } } // namespace v8::internal | 2396 } } // namespace v8::internal |
| 2401 | 2397 |
| 2402 #endif // V8_IA32_LITHIUM_IA32_H_ | 2398 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |