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 681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
692 LInstruction* LChunkBuilder::DoBlockEntry(HBlockEntry* instr) { | 692 LInstruction* LChunkBuilder::DoBlockEntry(HBlockEntry* instr) { |
693 return new(zone()) LLabel(instr->block()); | 693 return new(zone()) LLabel(instr->block()); |
694 } | 694 } |
695 | 695 |
696 | 696 |
697 LInstruction* LChunkBuilder::DoDummyUse(HDummyUse* instr) { | 697 LInstruction* LChunkBuilder::DoDummyUse(HDummyUse* instr) { |
698 return DefineAsRegister(new(zone()) LDummyUse(UseAny(instr->value()))); | 698 return DefineAsRegister(new(zone()) LDummyUse(UseAny(instr->value()))); |
699 } | 699 } |
700 | 700 |
701 | 701 |
| 702 LInstruction* LChunkBuilder::DoEnvironmentMarker(HEnvironmentMarker* instr) { |
| 703 UNREACHABLE(); |
| 704 return NULL; |
| 705 } |
| 706 |
| 707 |
702 LInstruction* LChunkBuilder::DoSoftDeoptimize(HSoftDeoptimize* instr) { | 708 LInstruction* LChunkBuilder::DoSoftDeoptimize(HSoftDeoptimize* instr) { |
703 return AssignEnvironment(new(zone()) LDeoptimize); | 709 return AssignEnvironment(new(zone()) LDeoptimize); |
704 } | 710 } |
705 | 711 |
706 | 712 |
707 LInstruction* LChunkBuilder::DoDeoptimize(HDeoptimize* instr) { | 713 LInstruction* LChunkBuilder::DoDeoptimize(HDeoptimize* instr) { |
708 return AssignEnvironment(new(zone()) LDeoptimize); | 714 return AssignEnvironment(new(zone()) LDeoptimize); |
709 } | 715 } |
710 | 716 |
711 | 717 |
(...skipping 1896 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2608 | 2614 |
2609 | 2615 |
2610 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2616 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
2611 LOperand* object = UseRegister(instr->object()); | 2617 LOperand* object = UseRegister(instr->object()); |
2612 LOperand* index = UseRegister(instr->index()); | 2618 LOperand* index = UseRegister(instr->index()); |
2613 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); | 2619 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); |
2614 } | 2620 } |
2615 | 2621 |
2616 | 2622 |
2617 } } // namespace v8::internal | 2623 } } // namespace v8::internal |
OLD | NEW |