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