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 1692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1703 } | 1703 } |
1704 | 1704 |
1705 | 1705 |
1706 LInstruction* LChunkBuilder::DoLoadContextSlot(HLoadContextSlot* instr) { | 1706 LInstruction* LChunkBuilder::DoLoadContextSlot(HLoadContextSlot* instr) { |
1707 LOperand* context = UseRegisterAtStart(instr->value()); | 1707 LOperand* context = UseRegisterAtStart(instr->value()); |
1708 return DefineAsRegister(new LLoadContextSlot(context)); | 1708 return DefineAsRegister(new LLoadContextSlot(context)); |
1709 } | 1709 } |
1710 | 1710 |
1711 | 1711 |
1712 LInstruction* LChunkBuilder::DoStoreContextSlot(HStoreContextSlot* instr) { | 1712 LInstruction* LChunkBuilder::DoStoreContextSlot(HStoreContextSlot* instr) { |
| 1713 Abort("Unimplemented: DoStoreContextSlot"); // Temporarily disabled (whesse). |
1713 LOperand* context; | 1714 LOperand* context; |
1714 LOperand* value; | 1715 LOperand* value; |
1715 if (instr->NeedsWriteBarrier()) { | 1716 if (instr->NeedsWriteBarrier()) { |
1716 context = UseTempRegister(instr->context()); | 1717 context = UseTempRegister(instr->context()); |
1717 value = UseTempRegister(instr->value()); | 1718 value = UseTempRegister(instr->value()); |
1718 } else { | 1719 } else { |
1719 context = UseRegister(instr->context()); | 1720 context = UseRegister(instr->context()); |
1720 value = UseRegister(instr->value()); | 1721 value = UseRegister(instr->value()); |
1721 } | 1722 } |
1722 return new LStoreContextSlot(context, value); | 1723 return new LStoreContextSlot(context, value); |
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2018 | 2019 |
2019 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { | 2020 LInstruction* LChunkBuilder::DoLeaveInlined(HLeaveInlined* instr) { |
2020 HEnvironment* outer = current_block_->last_environment()->outer(); | 2021 HEnvironment* outer = current_block_->last_environment()->outer(); |
2021 current_block_->UpdateEnvironment(outer); | 2022 current_block_->UpdateEnvironment(outer); |
2022 return NULL; | 2023 return NULL; |
2023 } | 2024 } |
2024 | 2025 |
2025 } } // namespace v8::internal | 2026 } } // namespace v8::internal |
2026 | 2027 |
2027 #endif // V8_TARGET_ARCH_X64 | 2028 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |