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