| 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 1712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1723 } | 1723 } |
| 1724 | 1724 |
| 1725 | 1725 |
| 1726 LInstruction* LChunkBuilder::DoBoundsCheck(HBoundsCheck* instr) { | 1726 LInstruction* LChunkBuilder::DoBoundsCheck(HBoundsCheck* instr) { |
| 1727 return AssignEnvironment(new(zone()) LBoundsCheck( | 1727 return AssignEnvironment(new(zone()) LBoundsCheck( |
| 1728 UseRegisterOrConstantAtStart(instr->index()), | 1728 UseRegisterOrConstantAtStart(instr->index()), |
| 1729 UseAtStart(instr->length()))); | 1729 UseAtStart(instr->length()))); |
| 1730 } | 1730 } |
| 1731 | 1731 |
| 1732 | 1732 |
| 1733 LInstruction* LChunkBuilder::DoBoundsCheckBaseIndexInformation( |
| 1734 HBoundsCheckBaseIndexInformation* instr) { |
| 1735 UNREACHABLE(); |
| 1736 return NULL; |
| 1737 } |
| 1738 |
| 1739 |
| 1733 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { | 1740 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { |
| 1734 // The control instruction marking the end of a block that completed | 1741 // The control instruction marking the end of a block that completed |
| 1735 // abruptly (e.g., threw an exception). There is nothing specific to do. | 1742 // abruptly (e.g., threw an exception). There is nothing specific to do. |
| 1736 return NULL; | 1743 return NULL; |
| 1737 } | 1744 } |
| 1738 | 1745 |
| 1739 | 1746 |
| 1740 LInstruction* LChunkBuilder::DoThrow(HThrow* instr) { | 1747 LInstruction* LChunkBuilder::DoThrow(HThrow* instr) { |
| 1741 LOperand* context = UseFixed(instr->context(), esi); | 1748 LOperand* context = UseFixed(instr->context(), esi); |
| 1742 LOperand* value = UseFixed(instr->value(), eax); | 1749 LOperand* value = UseFixed(instr->value(), eax); |
| (...skipping 814 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2557 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2564 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
| 2558 LOperand* object = UseRegister(instr->object()); | 2565 LOperand* object = UseRegister(instr->object()); |
| 2559 LOperand* index = UseTempRegister(instr->index()); | 2566 LOperand* index = UseTempRegister(instr->index()); |
| 2560 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); | 2567 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); |
| 2561 } | 2568 } |
| 2562 | 2569 |
| 2563 | 2570 |
| 2564 } } // namespace v8::internal | 2571 } } // namespace v8::internal |
| 2565 | 2572 |
| 2566 #endif // V8_TARGET_ARCH_IA32 | 2573 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |