| 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 1727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1738 LOperand* string = UseRegister(instr->string()); | 1738 LOperand* string = UseRegister(instr->string()); |
| 1739 LOperand* index = UseRegister(instr->index()); | 1739 LOperand* index = UseRegister(instr->index()); |
| 1740 ASSERT(rcx.is_byte_register()); | 1740 ASSERT(rcx.is_byte_register()); |
| 1741 LOperand* value = UseFixed(instr->value(), rcx); | 1741 LOperand* value = UseFixed(instr->value(), rcx); |
| 1742 LSeqStringSetChar* result = | 1742 LSeqStringSetChar* result = |
| 1743 new(zone()) LSeqStringSetChar(instr->encoding(), string, index, value); | 1743 new(zone()) LSeqStringSetChar(instr->encoding(), string, index, value); |
| 1744 return DefineSameAsFirst(result); | 1744 return DefineSameAsFirst(result); |
| 1745 } | 1745 } |
| 1746 | 1746 |
| 1747 | 1747 |
| 1748 LInstruction* LChunkBuilder::DoNumericConstraint(HNumericConstraint* instr) { | |
| 1749 return NULL; | |
| 1750 } | |
| 1751 | |
| 1752 | |
| 1753 LInstruction* LChunkBuilder::DoInductionVariableAnnotation( | |
| 1754 HInductionVariableAnnotation* instr) { | |
| 1755 return NULL; | |
| 1756 } | |
| 1757 | |
| 1758 | |
| 1759 LInstruction* LChunkBuilder::DoBoundsCheck(HBoundsCheck* instr) { | 1748 LInstruction* LChunkBuilder::DoBoundsCheck(HBoundsCheck* instr) { |
| 1760 LOperand* value = UseRegisterOrConstantAtStart(instr->index()); | 1749 LOperand* value = UseRegisterOrConstantAtStart(instr->index()); |
| 1761 LOperand* length = Use(instr->length()); | 1750 LOperand* length = Use(instr->length()); |
| 1762 return AssignEnvironment(new(zone()) LBoundsCheck(value, length)); | 1751 return AssignEnvironment(new(zone()) LBoundsCheck(value, length)); |
| 1763 } | 1752 } |
| 1764 | 1753 |
| 1765 | 1754 |
| 1766 LInstruction* LChunkBuilder::DoBoundsCheckBaseIndexInformation( | 1755 LInstruction* LChunkBuilder::DoBoundsCheckBaseIndexInformation( |
| 1767 HBoundsCheckBaseIndexInformation* instr) { | 1756 HBoundsCheckBaseIndexInformation* instr) { |
| 1768 UNREACHABLE(); | 1757 UNREACHABLE(); |
| (...skipping 769 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2538 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2527 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
| 2539 LOperand* object = UseRegister(instr->object()); | 2528 LOperand* object = UseRegister(instr->object()); |
| 2540 LOperand* index = UseTempRegister(instr->index()); | 2529 LOperand* index = UseTempRegister(instr->index()); |
| 2541 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); | 2530 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); |
| 2542 } | 2531 } |
| 2543 | 2532 |
| 2544 | 2533 |
| 2545 } } // namespace v8::internal | 2534 } } // namespace v8::internal |
| 2546 | 2535 |
| 2547 #endif // V8_TARGET_ARCH_X64 | 2536 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |