| 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::DoBoundsCheck(HBoundsCheck* instr) { | 1781 LInstruction* LChunkBuilder::DoBoundsCheck(HBoundsCheck* instr) { |
| 1782 return AssignEnvironment(new(zone()) LBoundsCheck( | 1782 return AssignEnvironment(new(zone()) LBoundsCheck( |
| 1783 UseRegisterOrConstantAtStart(instr->index()), | 1783 UseRegisterOrConstantAtStart(instr->index()), |
| 1784 UseAtStart(instr->length()))); | 1784 UseAtStart(instr->length()))); |
| 1785 } | 1785 } |
| 1786 | 1786 |
| 1787 | 1787 |
| 1788 LInstruction* LChunkBuilder::DoBoundsCheckBaseIndexInformation( |
| 1789 HBoundsCheckBaseIndexInformation* instr) { |
| 1790 UNREACHABLE(); |
| 1791 return NULL; |
| 1792 } |
| 1793 |
| 1794 |
| 1788 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { | 1795 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { |
| 1789 // The control instruction marking the end of a block that completed | 1796 // The control instruction marking the end of a block that completed |
| 1790 // abruptly (e.g., threw an exception). There is nothing specific to do. | 1797 // abruptly (e.g., threw an exception). There is nothing specific to do. |
| 1791 return NULL; | 1798 return NULL; |
| 1792 } | 1799 } |
| 1793 | 1800 |
| 1794 | 1801 |
| 1795 LInstruction* LChunkBuilder::DoThrow(HThrow* instr) { | 1802 LInstruction* LChunkBuilder::DoThrow(HThrow* instr) { |
| 1796 LOperand* context = UseFixed(instr->context(), esi); | 1803 LOperand* context = UseFixed(instr->context(), esi); |
| 1797 LOperand* value = UseFixed(instr->value(), eax); | 1804 LOperand* value = UseFixed(instr->value(), eax); |
| (...skipping 816 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2614 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2621 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
| 2615 LOperand* object = UseRegister(instr->object()); | 2622 LOperand* object = UseRegister(instr->object()); |
| 2616 LOperand* index = UseTempRegister(instr->index()); | 2623 LOperand* index = UseTempRegister(instr->index()); |
| 2617 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); | 2624 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); |
| 2618 } | 2625 } |
| 2619 | 2626 |
| 2620 | 2627 |
| 2621 } } // namespace v8::internal | 2628 } } // namespace v8::internal |
| 2622 | 2629 |
| 2623 #endif // V8_TARGET_ARCH_IA32 | 2630 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |