| 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 1760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1771 } | 1771 } |
| 1772 | 1772 |
| 1773 | 1773 |
| 1774 LInstruction* LChunkBuilder::DoBoundsCheckBaseIndexInformation( | 1774 LInstruction* LChunkBuilder::DoBoundsCheckBaseIndexInformation( |
| 1775 HBoundsCheckBaseIndexInformation* instr) { | 1775 HBoundsCheckBaseIndexInformation* instr) { |
| 1776 UNREACHABLE(); | 1776 UNREACHABLE(); |
| 1777 return NULL; | 1777 return NULL; |
| 1778 } | 1778 } |
| 1779 | 1779 |
| 1780 | 1780 |
| 1781 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { | |
| 1782 // The control instruction marking the end of a block that completed | |
| 1783 // abruptly (e.g., threw an exception). There is nothing specific to do. | |
| 1784 return NULL; | |
| 1785 } | |
| 1786 | |
| 1787 | |
| 1788 LInstruction* LChunkBuilder::DoThrow(HThrow* instr) { | 1781 LInstruction* LChunkBuilder::DoThrow(HThrow* instr) { |
| 1789 LOperand* value = UseFixed(instr->value(), rax); | 1782 LOperand* value = UseFixed(instr->value(), rax); |
| 1790 return MarkAsCall(new(zone()) LThrow(value), instr); | 1783 return MarkAsCall(new(zone()) LThrow(value), instr); |
| 1791 } | 1784 } |
| 1792 | 1785 |
| 1793 | 1786 |
| 1794 LInstruction* LChunkBuilder::DoUseConst(HUseConst* instr) { | 1787 LInstruction* LChunkBuilder::DoUseConst(HUseConst* instr) { |
| 1795 return NULL; | 1788 return NULL; |
| 1796 } | 1789 } |
| 1797 | 1790 |
| (...skipping 734 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2532 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2525 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
| 2533 LOperand* object = UseRegister(instr->object()); | 2526 LOperand* object = UseRegister(instr->object()); |
| 2534 LOperand* index = UseTempRegister(instr->index()); | 2527 LOperand* index = UseTempRegister(instr->index()); |
| 2535 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); | 2528 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); |
| 2536 } | 2529 } |
| 2537 | 2530 |
| 2538 | 2531 |
| 2539 } } // namespace v8::internal | 2532 } } // namespace v8::internal |
| 2540 | 2533 |
| 2541 #endif // V8_TARGET_ARCH_X64 | 2534 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |