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 704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
715 ASSERT(operand->HasFixedPolicy()); | 715 ASSERT(operand->HasFixedPolicy()); |
716 return operand; | 716 return operand; |
717 } | 717 } |
718 | 718 |
719 | 719 |
720 LInstruction* LChunkBuilder::DoBlockEntry(HBlockEntry* instr) { | 720 LInstruction* LChunkBuilder::DoBlockEntry(HBlockEntry* instr) { |
721 return new(zone()) LLabel(instr->block()); | 721 return new(zone()) LLabel(instr->block()); |
722 } | 722 } |
723 | 723 |
724 | 724 |
| 725 LInstruction* LChunkBuilder::DoDummyUse(HDummyUse* instr) { |
| 726 return DefineAsRegister(new(zone()) LDummyUse(UseAny(instr->value()))); |
| 727 } |
| 728 |
| 729 |
725 LInstruction* LChunkBuilder::DoSoftDeoptimize(HSoftDeoptimize* instr) { | 730 LInstruction* LChunkBuilder::DoSoftDeoptimize(HSoftDeoptimize* instr) { |
726 return AssignEnvironment(new(zone()) LDeoptimize); | 731 return AssignEnvironment(new(zone()) LDeoptimize); |
727 } | 732 } |
728 | 733 |
729 | 734 |
730 LInstruction* LChunkBuilder::DoDeoptimize(HDeoptimize* instr) { | 735 LInstruction* LChunkBuilder::DoDeoptimize(HDeoptimize* instr) { |
731 return AssignEnvironment(new(zone()) LDeoptimize); | 736 return AssignEnvironment(new(zone()) LDeoptimize); |
732 } | 737 } |
733 | 738 |
734 | 739 |
(...skipping 1736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2471 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2476 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
2472 LOperand* object = UseRegister(instr->object()); | 2477 LOperand* object = UseRegister(instr->object()); |
2473 LOperand* index = UseTempRegister(instr->index()); | 2478 LOperand* index = UseTempRegister(instr->index()); |
2474 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); | 2479 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); |
2475 } | 2480 } |
2476 | 2481 |
2477 | 2482 |
2478 } } // namespace v8::internal | 2483 } } // namespace v8::internal |
2479 | 2484 |
2480 #endif // V8_TARGET_ARCH_IA32 | 2485 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |