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 689 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
700 LInstruction* LChunkBuilder::DoBlockEntry(HBlockEntry* instr) { | 700 LInstruction* LChunkBuilder::DoBlockEntry(HBlockEntry* instr) { |
701 return new(zone()) LLabel(instr->block()); | 701 return new(zone()) LLabel(instr->block()); |
702 } | 702 } |
703 | 703 |
704 | 704 |
705 LInstruction* LChunkBuilder::DoDummyUse(HDummyUse* instr) { | 705 LInstruction* LChunkBuilder::DoDummyUse(HDummyUse* instr) { |
706 return DefineAsRegister(new(zone()) LDummyUse(UseAny(instr->value()))); | 706 return DefineAsRegister(new(zone()) LDummyUse(UseAny(instr->value()))); |
707 } | 707 } |
708 | 708 |
709 | 709 |
| 710 LInstruction* LChunkBuilder::DoEnvironmentMarker(HEnvironmentMarker* instr) { |
| 711 UNREACHABLE(); |
| 712 return NULL; |
| 713 } |
| 714 |
| 715 |
710 LInstruction* LChunkBuilder::DoSoftDeoptimize(HSoftDeoptimize* instr) { | 716 LInstruction* LChunkBuilder::DoSoftDeoptimize(HSoftDeoptimize* instr) { |
711 return AssignEnvironment(new(zone()) LDeoptimize); | 717 return AssignEnvironment(new(zone()) LDeoptimize); |
712 } | 718 } |
713 | 719 |
714 | 720 |
715 LInstruction* LChunkBuilder::DoDeoptimize(HDeoptimize* instr) { | 721 LInstruction* LChunkBuilder::DoDeoptimize(HDeoptimize* instr) { |
716 return AssignEnvironment(new(zone()) LDeoptimize); | 722 return AssignEnvironment(new(zone()) LDeoptimize); |
717 } | 723 } |
718 | 724 |
719 | 725 |
(...skipping 1829 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2549 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2555 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
2550 LOperand* object = UseRegister(instr->object()); | 2556 LOperand* object = UseRegister(instr->object()); |
2551 LOperand* index = UseTempRegister(instr->index()); | 2557 LOperand* index = UseTempRegister(instr->index()); |
2552 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); | 2558 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); |
2553 } | 2559 } |
2554 | 2560 |
2555 | 2561 |
2556 } } // namespace v8::internal | 2562 } } // namespace v8::internal |
2557 | 2563 |
2558 #endif // V8_TARGET_ARCH_X64 | 2564 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |