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 660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
671 ASSERT(operand->HasFixedPolicy()); | 671 ASSERT(operand->HasFixedPolicy()); |
672 return operand; | 672 return operand; |
673 } | 673 } |
674 | 674 |
675 | 675 |
676 LInstruction* LChunkBuilder::DoBlockEntry(HBlockEntry* instr) { | 676 LInstruction* LChunkBuilder::DoBlockEntry(HBlockEntry* instr) { |
677 return new(zone()) LLabel(instr->block()); | 677 return new(zone()) LLabel(instr->block()); |
678 } | 678 } |
679 | 679 |
680 | 680 |
| 681 LInstruction* LChunkBuilder::DoDummyUse(HDummyUse* instr) { |
| 682 return DefineAsRegister(new(zone()) LDummyUse(UseAny(instr->value()))); |
| 683 } |
| 684 |
| 685 |
681 LInstruction* LChunkBuilder::DoSoftDeoptimize(HSoftDeoptimize* instr) { | 686 LInstruction* LChunkBuilder::DoSoftDeoptimize(HSoftDeoptimize* instr) { |
682 return AssignEnvironment(new(zone()) LDeoptimize); | 687 return AssignEnvironment(new(zone()) LDeoptimize); |
683 } | 688 } |
684 | 689 |
685 | 690 |
686 LInstruction* LChunkBuilder::DoDeoptimize(HDeoptimize* instr) { | 691 LInstruction* LChunkBuilder::DoDeoptimize(HDeoptimize* instr) { |
687 return AssignEnvironment(new(zone()) LDeoptimize); | 692 return AssignEnvironment(new(zone()) LDeoptimize); |
688 } | 693 } |
689 | 694 |
690 | 695 |
(...skipping 1696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2387 | 2392 |
2388 | 2393 |
2389 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2394 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
2390 LOperand* object = UseRegister(instr->object()); | 2395 LOperand* object = UseRegister(instr->object()); |
2391 LOperand* index = UseRegister(instr->index()); | 2396 LOperand* index = UseRegister(instr->index()); |
2392 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); | 2397 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); |
2393 } | 2398 } |
2394 | 2399 |
2395 | 2400 |
2396 } } // namespace v8::internal | 2401 } } // namespace v8::internal |
OLD | NEW |