| 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 1773 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1784 } | 1784 } |
| 1785 | 1785 |
| 1786 | 1786 |
| 1787 LInstruction* LChunkBuilder::DoBoundsCheckBaseIndexInformation( | 1787 LInstruction* LChunkBuilder::DoBoundsCheckBaseIndexInformation( |
| 1788 HBoundsCheckBaseIndexInformation* instr) { | 1788 HBoundsCheckBaseIndexInformation* instr) { |
| 1789 UNREACHABLE(); | 1789 UNREACHABLE(); |
| 1790 return NULL; | 1790 return NULL; |
| 1791 } | 1791 } |
| 1792 | 1792 |
| 1793 | 1793 |
| 1794 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { | |
| 1795 // The control instruction marking the end of a block that completed | |
| 1796 // abruptly (e.g., threw an exception). There is nothing specific to do. | |
| 1797 return NULL; | |
| 1798 } | |
| 1799 | |
| 1800 | |
| 1801 LInstruction* LChunkBuilder::DoThrow(HThrow* instr) { | 1794 LInstruction* LChunkBuilder::DoThrow(HThrow* instr) { |
| 1802 LOperand* value = UseFixed(instr->value(), a0); | 1795 LOperand* value = UseFixed(instr->value(), a0); |
| 1803 return MarkAsCall(new(zone()) LThrow(value), instr); | 1796 return MarkAsCall(new(zone()) LThrow(value), instr); |
| 1804 } | 1797 } |
| 1805 | 1798 |
| 1806 | 1799 |
| 1807 LInstruction* LChunkBuilder::DoUseConst(HUseConst* instr) { | 1800 LInstruction* LChunkBuilder::DoUseConst(HUseConst* instr) { |
| 1808 return NULL; | 1801 return NULL; |
| 1809 } | 1802 } |
| 1810 | 1803 |
| (...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2516 | 2509 |
| 2517 | 2510 |
| 2518 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2511 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
| 2519 LOperand* object = UseRegister(instr->object()); | 2512 LOperand* object = UseRegister(instr->object()); |
| 2520 LOperand* index = UseRegister(instr->index()); | 2513 LOperand* index = UseRegister(instr->index()); |
| 2521 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); | 2514 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); |
| 2522 } | 2515 } |
| 2523 | 2516 |
| 2524 | 2517 |
| 2525 } } // namespace v8::internal | 2518 } } // namespace v8::internal |
| OLD | NEW |