| 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 1782 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1793 } | 1793 } |
| 1794 | 1794 |
| 1795 | 1795 |
| 1796 LInstruction* LChunkBuilder::DoBoundsCheckBaseIndexInformation( | 1796 LInstruction* LChunkBuilder::DoBoundsCheckBaseIndexInformation( |
| 1797 HBoundsCheckBaseIndexInformation* instr) { | 1797 HBoundsCheckBaseIndexInformation* instr) { |
| 1798 UNREACHABLE(); | 1798 UNREACHABLE(); |
| 1799 return NULL; | 1799 return NULL; |
| 1800 } | 1800 } |
| 1801 | 1801 |
| 1802 | 1802 |
| 1803 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { | |
| 1804 // The control instruction marking the end of a block that completed | |
| 1805 // abruptly (e.g., threw an exception). There is nothing specific to do. | |
| 1806 return NULL; | |
| 1807 } | |
| 1808 | |
| 1809 | |
| 1810 LInstruction* LChunkBuilder::DoThrow(HThrow* instr) { | 1803 LInstruction* LChunkBuilder::DoThrow(HThrow* instr) { |
| 1811 LOperand* value = UseFixed(instr->value(), a0); | 1804 LOperand* value = UseFixed(instr->value(), a0); |
| 1812 return MarkAsCall(new(zone()) LThrow(value), instr); | 1805 return MarkAsCall(new(zone()) LThrow(value), instr); |
| 1813 } | 1806 } |
| 1814 | 1807 |
| 1815 | 1808 |
| 1816 LInstruction* LChunkBuilder::DoUseConst(HUseConst* instr) { | 1809 LInstruction* LChunkBuilder::DoUseConst(HUseConst* instr) { |
| 1817 return NULL; | 1810 return NULL; |
| 1818 } | 1811 } |
| 1819 | 1812 |
| (...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2564 | 2557 |
| 2565 | 2558 |
| 2566 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2559 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
| 2567 LOperand* object = UseRegister(instr->object()); | 2560 LOperand* object = UseRegister(instr->object()); |
| 2568 LOperand* index = UseRegister(instr->index()); | 2561 LOperand* index = UseRegister(instr->index()); |
| 2569 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); | 2562 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); |
| 2570 } | 2563 } |
| 2571 | 2564 |
| 2572 | 2565 |
| 2573 } } // namespace v8::internal | 2566 } } // namespace v8::internal |
| OLD | NEW |