| 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 1615 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1626 TempRegister()); | 1626 TempRegister()); |
| 1627 } | 1627 } |
| 1628 | 1628 |
| 1629 | 1629 |
| 1630 LInstruction* LChunkBuilder::DoMapEnumLength(HMapEnumLength* instr) { | 1630 LInstruction* LChunkBuilder::DoMapEnumLength(HMapEnumLength* instr) { |
| 1631 LOperand* map = UseRegisterAtStart(instr->value()); | 1631 LOperand* map = UseRegisterAtStart(instr->value()); |
| 1632 return DefineAsRegister(new(zone()) LMapEnumLength(map)); | 1632 return DefineAsRegister(new(zone()) LMapEnumLength(map)); |
| 1633 } | 1633 } |
| 1634 | 1634 |
| 1635 | 1635 |
| 1636 LInstruction* LChunkBuilder::DoElementsKind(HElementsKind* instr) { | |
| 1637 LOperand* object = UseRegisterAtStart(instr->value()); | |
| 1638 return DefineAsRegister(new(zone()) LElementsKind(object)); | |
| 1639 } | |
| 1640 | |
| 1641 | |
| 1642 LInstruction* LChunkBuilder::DoValueOf(HValueOf* instr) { | 1636 LInstruction* LChunkBuilder::DoValueOf(HValueOf* instr) { |
| 1643 LOperand* object = UseRegister(instr->value()); | 1637 LOperand* object = UseRegister(instr->value()); |
| 1644 LValueOf* result = new(zone()) LValueOf(object, TempRegister()); | 1638 LValueOf* result = new(zone()) LValueOf(object, TempRegister()); |
| 1645 return DefineAsRegister(result); | 1639 return DefineAsRegister(result); |
| 1646 } | 1640 } |
| 1647 | 1641 |
| 1648 | 1642 |
| 1649 LInstruction* LChunkBuilder::DoDateField(HDateField* instr) { | 1643 LInstruction* LChunkBuilder::DoDateField(HDateField* instr) { |
| 1650 LOperand* object = UseFixed(instr->value(), a0); | 1644 LOperand* object = UseFixed(instr->value(), a0); |
| 1651 LDateField* result = | 1645 LDateField* result = |
| (...skipping 766 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2418 | 2412 |
| 2419 | 2413 |
| 2420 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2414 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
| 2421 LOperand* object = UseRegister(instr->object()); | 2415 LOperand* object = UseRegister(instr->object()); |
| 2422 LOperand* index = UseRegister(instr->index()); | 2416 LOperand* index = UseRegister(instr->index()); |
| 2423 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); | 2417 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); |
| 2424 } | 2418 } |
| 2425 | 2419 |
| 2426 | 2420 |
| 2427 } } // namespace v8::internal | 2421 } } // namespace v8::internal |
| OLD | NEW |