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