| 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 1685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1696 } | 1696 } |
| 1697 | 1697 |
| 1698 | 1698 |
| 1699 LInstruction* LChunkBuilder::DoBoundsCheck(HBoundsCheck* instr) { | 1699 LInstruction* LChunkBuilder::DoBoundsCheck(HBoundsCheck* instr) { |
| 1700 LOperand* value = UseRegisterOrConstantAtStart(instr->index()); | 1700 LOperand* value = UseRegisterOrConstantAtStart(instr->index()); |
| 1701 LOperand* length = UseRegister(instr->length()); | 1701 LOperand* length = UseRegister(instr->length()); |
| 1702 return AssignEnvironment(new(zone()) LBoundsCheck(value, length)); | 1702 return AssignEnvironment(new(zone()) LBoundsCheck(value, length)); |
| 1703 } | 1703 } |
| 1704 | 1704 |
| 1705 | 1705 |
| 1706 LInstruction* LChunkBuilder::DoBoundsCheckBaseIndexInformation( |
| 1707 HBoundsCheckBaseIndexInformation* instr) { |
| 1708 UNREACHABLE(); |
| 1709 return NULL; |
| 1710 } |
| 1711 |
| 1712 |
| 1706 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { | 1713 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { |
| 1707 // The control instruction marking the end of a block that completed | 1714 // The control instruction marking the end of a block that completed |
| 1708 // abruptly (e.g., threw an exception). There is nothing specific to do. | 1715 // abruptly (e.g., threw an exception). There is nothing specific to do. |
| 1709 return NULL; | 1716 return NULL; |
| 1710 } | 1717 } |
| 1711 | 1718 |
| 1712 | 1719 |
| 1713 LInstruction* LChunkBuilder::DoThrow(HThrow* instr) { | 1720 LInstruction* LChunkBuilder::DoThrow(HThrow* instr) { |
| 1714 LOperand* value = UseFixed(instr->value(), r0); | 1721 LOperand* value = UseFixed(instr->value(), r0); |
| 1715 return MarkAsCall(new(zone()) LThrow(value), instr); | 1722 return MarkAsCall(new(zone()) LThrow(value), instr); |
| (...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2455 | 2462 |
| 2456 | 2463 |
| 2457 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2464 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
| 2458 LOperand* object = UseRegister(instr->object()); | 2465 LOperand* object = UseRegister(instr->object()); |
| 2459 LOperand* index = UseRegister(instr->index()); | 2466 LOperand* index = UseRegister(instr->index()); |
| 2460 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); | 2467 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); |
| 2461 } | 2468 } |
| 2462 | 2469 |
| 2463 | 2470 |
| 2464 } } // namespace v8::internal | 2471 } } // namespace v8::internal |
| OLD | NEW |