| 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 1623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1634 new(zone()) LSeqStringSetChar(instr->encoding(), string, index, value); | 1634 new(zone()) LSeqStringSetChar(instr->encoding(), string, index, value); |
| 1635 return DefineSameAsFirst(result); | 1635 return DefineSameAsFirst(result); |
| 1636 } | 1636 } |
| 1637 | 1637 |
| 1638 | 1638 |
| 1639 LInstruction* LChunkBuilder::DoNumericConstraint(HNumericConstraint* instr) { | 1639 LInstruction* LChunkBuilder::DoNumericConstraint(HNumericConstraint* instr) { |
| 1640 return NULL; | 1640 return NULL; |
| 1641 } | 1641 } |
| 1642 | 1642 |
| 1643 | 1643 |
| 1644 LInstruction* LChunkBuilder::DoInductionVariableAnnotation( |
| 1645 HInductionVariableAnnotation* instr) { |
| 1646 return NULL; |
| 1647 } |
| 1648 |
| 1649 |
| 1644 LInstruction* LChunkBuilder::DoBoundsCheck(HBoundsCheck* instr) { | 1650 LInstruction* LChunkBuilder::DoBoundsCheck(HBoundsCheck* instr) { |
| 1645 LOperand* value = UseRegisterOrConstantAtStart(instr->index()); | 1651 LOperand* value = UseRegisterOrConstantAtStart(instr->index()); |
| 1646 LOperand* length = Use(instr->length()); | 1652 LOperand* length = Use(instr->length()); |
| 1647 return AssignEnvironment(new(zone()) LBoundsCheck(value, length)); | 1653 return AssignEnvironment(new(zone()) LBoundsCheck(value, length)); |
| 1648 } | 1654 } |
| 1649 | 1655 |
| 1650 | 1656 |
| 1651 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { | 1657 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { |
| 1652 // The control instruction marking the end of a block that completed | 1658 // The control instruction marking the end of a block that completed |
| 1653 // abruptly (e.g., threw an exception). There is nothing specific to do. | 1659 // abruptly (e.g., threw an exception). There is nothing specific to do. |
| (...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2396 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2402 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
| 2397 LOperand* object = UseRegister(instr->object()); | 2403 LOperand* object = UseRegister(instr->object()); |
| 2398 LOperand* index = UseTempRegister(instr->index()); | 2404 LOperand* index = UseTempRegister(instr->index()); |
| 2399 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); | 2405 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); |
| 2400 } | 2406 } |
| 2401 | 2407 |
| 2402 | 2408 |
| 2403 } } // namespace v8::internal | 2409 } } // namespace v8::internal |
| 2404 | 2410 |
| 2405 #endif // V8_TARGET_ARCH_X64 | 2411 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |