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