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 1572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1583 LInstruction* LChunkBuilder::DoSeqStringSetChar(HSeqStringSetChar* instr) { | 1583 LInstruction* LChunkBuilder::DoSeqStringSetChar(HSeqStringSetChar* instr) { |
1584 LOperand* string = UseRegister(instr->string()); | 1584 LOperand* string = UseRegister(instr->string()); |
1585 LOperand* index = UseRegister(instr->index()); | 1585 LOperand* index = UseRegister(instr->index()); |
1586 LOperand* value = UseRegister(instr->value()); | 1586 LOperand* value = UseRegister(instr->value()); |
1587 LSeqStringSetChar* result = | 1587 LSeqStringSetChar* result = |
1588 new(zone()) LSeqStringSetChar(instr->encoding(), string, index, value); | 1588 new(zone()) LSeqStringSetChar(instr->encoding(), string, index, value); |
1589 return DefineAsRegister(result); | 1589 return DefineAsRegister(result); |
1590 } | 1590 } |
1591 | 1591 |
1592 | 1592 |
| 1593 LInstruction* LChunkBuilder::DoNumericConstraint(HNumericConstraint* instr) { |
| 1594 return NULL; |
| 1595 } |
| 1596 |
| 1597 |
1593 LInstruction* LChunkBuilder::DoBoundsCheck(HBoundsCheck* instr) { | 1598 LInstruction* LChunkBuilder::DoBoundsCheck(HBoundsCheck* instr) { |
1594 LOperand* value = UseRegisterOrConstantAtStart(instr->index()); | 1599 LOperand* value = UseRegisterOrConstantAtStart(instr->index()); |
1595 LOperand* length = UseRegister(instr->length()); | 1600 LOperand* length = UseRegister(instr->length()); |
1596 return AssignEnvironment(new(zone()) LBoundsCheck(value, length)); | 1601 return AssignEnvironment(new(zone()) LBoundsCheck(value, length)); |
1597 } | 1602 } |
1598 | 1603 |
1599 | 1604 |
1600 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { | 1605 LInstruction* LChunkBuilder::DoAbnormalExit(HAbnormalExit* instr) { |
1601 // The control instruction marking the end of a block that completed | 1606 // The control instruction marking the end of a block that completed |
1602 // abruptly (e.g., threw an exception). There is nothing specific to do. | 1607 // abruptly (e.g., threw an exception). There is nothing specific to do. |
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2326 | 2331 |
2327 | 2332 |
2328 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2333 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
2329 LOperand* object = UseRegister(instr->object()); | 2334 LOperand* object = UseRegister(instr->object()); |
2330 LOperand* index = UseRegister(instr->index()); | 2335 LOperand* index = UseRegister(instr->index()); |
2331 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); | 2336 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); |
2332 } | 2337 } |
2333 | 2338 |
2334 | 2339 |
2335 } } // namespace v8::internal | 2340 } } // namespace v8::internal |
OLD | NEW |