| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 1788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1799 } | 1799 } |
| 1800 | 1800 |
| 1801 | 1801 |
| 1802 LInstruction* LChunkBuilder::DoBoundsCheckBaseIndexInformation( | 1802 LInstruction* LChunkBuilder::DoBoundsCheckBaseIndexInformation( |
| 1803 HBoundsCheckBaseIndexInformation* instr) { | 1803 HBoundsCheckBaseIndexInformation* instr) { |
| 1804 UNREACHABLE(); | 1804 UNREACHABLE(); |
| 1805 return NULL; | 1805 return NULL; |
| 1806 } | 1806 } |
| 1807 | 1807 |
| 1808 | 1808 |
| 1809 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { | |
| 1810 // The control instruction marking the end of a block that completed | |
| 1811 // abruptly (e.g., threw an exception). There is nothing specific to do. | |
| 1812 return NULL; | |
| 1813 } | |
| 1814 | |
| 1815 | |
| 1816 LInstruction* LChunkBuilder::DoThrow(HThrow* instr) { | 1809 LInstruction* LChunkBuilder::DoThrow(HThrow* instr) { |
| 1817 LOperand* value = UseFixed(instr->value(), rax); | 1810 LOperand* value = UseFixed(instr->value(), rax); |
| 1818 return MarkAsCall(new(zone()) LThrow(value), instr); | 1811 return MarkAsCall(new(zone()) LThrow(value), instr); |
| 1819 } | 1812 } |
| 1820 | 1813 |
| 1821 | 1814 |
| 1822 LInstruction* LChunkBuilder::DoUseConst(HUseConst* instr) { | 1815 LInstruction* LChunkBuilder::DoUseConst(HUseConst* instr) { |
| 1823 return NULL; | 1816 return NULL; |
| 1824 } | 1817 } |
| 1825 | 1818 |
| (...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2586 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2579 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
| 2587 LOperand* object = UseRegister(instr->object()); | 2580 LOperand* object = UseRegister(instr->object()); |
| 2588 LOperand* index = UseTempRegister(instr->index()); | 2581 LOperand* index = UseTempRegister(instr->index()); |
| 2589 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); | 2582 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); |
| 2590 } | 2583 } |
| 2591 | 2584 |
| 2592 | 2585 |
| 2593 } } // namespace v8::internal | 2586 } } // namespace v8::internal |
| 2594 | 2587 |
| 2595 #endif // V8_TARGET_ARCH_X64 | 2588 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |