| 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 1735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1746 LInstruction* LChunkBuilder::DoSeqStringSetChar(HSeqStringSetChar* instr) { | 1746 LInstruction* LChunkBuilder::DoSeqStringSetChar(HSeqStringSetChar* instr) { |
| 1747 LOperand* string = UseRegister(instr->string()); | 1747 LOperand* string = UseRegister(instr->string()); |
| 1748 LOperand* index = UseRegister(instr->index()); | 1748 LOperand* index = UseRegister(instr->index()); |
| 1749 LOperand* value = UseTempRegister(instr->value()); | 1749 LOperand* value = UseTempRegister(instr->value()); |
| 1750 LSeqStringSetChar* result = | 1750 LSeqStringSetChar* result = |
| 1751 new(zone()) LSeqStringSetChar(instr->encoding(), string, index, value); | 1751 new(zone()) LSeqStringSetChar(instr->encoding(), string, index, value); |
| 1752 return DefineAsRegister(result); | 1752 return DefineAsRegister(result); |
| 1753 } | 1753 } |
| 1754 | 1754 |
| 1755 | 1755 |
| 1756 LInstruction* LChunkBuilder::DoNumericConstraint(HNumericConstraint* instr) { | |
| 1757 return NULL; | |
| 1758 } | |
| 1759 | |
| 1760 | |
| 1761 LInstruction* LChunkBuilder::DoInductionVariableAnnotation( | |
| 1762 HInductionVariableAnnotation* instr) { | |
| 1763 return NULL; | |
| 1764 } | |
| 1765 | |
| 1766 | |
| 1767 LInstruction* LChunkBuilder::DoBoundsCheck(HBoundsCheck* instr) { | 1756 LInstruction* LChunkBuilder::DoBoundsCheck(HBoundsCheck* instr) { |
| 1768 LOperand* value = UseRegisterOrConstantAtStart(instr->index()); | 1757 LOperand* value = UseRegisterOrConstantAtStart(instr->index()); |
| 1769 LOperand* length = UseRegister(instr->length()); | 1758 LOperand* length = UseRegister(instr->length()); |
| 1770 return AssignEnvironment(new(zone()) LBoundsCheck(value, length)); | 1759 return AssignEnvironment(new(zone()) LBoundsCheck(value, length)); |
| 1771 } | 1760 } |
| 1772 | 1761 |
| 1773 | 1762 |
| 1774 LInstruction* LChunkBuilder::DoBoundsCheckBaseIndexInformation( | 1763 LInstruction* LChunkBuilder::DoBoundsCheckBaseIndexInformation( |
| 1775 HBoundsCheckBaseIndexInformation* instr) { | 1764 HBoundsCheckBaseIndexInformation* instr) { |
| 1776 UNREACHABLE(); | 1765 UNREACHABLE(); |
| (...skipping 754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2531 | 2520 |
| 2532 | 2521 |
| 2533 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2522 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
| 2534 LOperand* object = UseRegister(instr->object()); | 2523 LOperand* object = UseRegister(instr->object()); |
| 2535 LOperand* index = UseRegister(instr->index()); | 2524 LOperand* index = UseRegister(instr->index()); |
| 2536 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); | 2525 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); |
| 2537 } | 2526 } |
| 2538 | 2527 |
| 2539 | 2528 |
| 2540 } } // namespace v8::internal | 2529 } } // namespace v8::internal |
| OLD | NEW |