| 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 693 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 704 return DefineAsRegister(new(zone()) LDummyUse(UseAny(instr->value()))); | 704 return DefineAsRegister(new(zone()) LDummyUse(UseAny(instr->value()))); |
| 705 } | 705 } |
| 706 | 706 |
| 707 | 707 |
| 708 LInstruction* LChunkBuilder::DoEnvironmentMarker(HEnvironmentMarker* instr) { | 708 LInstruction* LChunkBuilder::DoEnvironmentMarker(HEnvironmentMarker* instr) { |
| 709 UNREACHABLE(); | 709 UNREACHABLE(); |
| 710 return NULL; | 710 return NULL; |
| 711 } | 711 } |
| 712 | 712 |
| 713 | 713 |
| 714 LInstruction* LChunkBuilder::DoSoftDeoptimize(HSoftDeoptimize* instr) { | |
| 715 return AssignEnvironment(new(zone()) LDeoptimize); | |
| 716 } | |
| 717 | |
| 718 | |
| 719 LInstruction* LChunkBuilder::DoDeoptimize(HDeoptimize* instr) { | 714 LInstruction* LChunkBuilder::DoDeoptimize(HDeoptimize* instr) { |
| 720 return AssignEnvironment(new(zone()) LDeoptimize); | 715 return AssignEnvironment(new(zone()) LDeoptimize); |
| 721 } | 716 } |
| 722 | 717 |
| 723 | 718 |
| 724 LInstruction* LChunkBuilder::DoShift(Token::Value op, | 719 LInstruction* LChunkBuilder::DoShift(Token::Value op, |
| 725 HBitwiseBinaryOperation* instr) { | 720 HBitwiseBinaryOperation* instr) { |
| 726 if (instr->representation().IsSmiOrTagged()) { | 721 if (instr->representation().IsSmiOrTagged()) { |
| 727 ASSERT(instr->left()->representation().IsSmiOrTagged()); | 722 ASSERT(instr->left()->representation().IsSmiOrTagged()); |
| 728 ASSERT(instr->right()->representation().IsSmiOrTagged()); | 723 ASSERT(instr->right()->representation().IsSmiOrTagged()); |
| (...skipping 1922 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2651 | 2646 |
| 2652 | 2647 |
| 2653 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2648 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
| 2654 LOperand* object = UseRegister(instr->object()); | 2649 LOperand* object = UseRegister(instr->object()); |
| 2655 LOperand* index = UseRegister(instr->index()); | 2650 LOperand* index = UseRegister(instr->index()); |
| 2656 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); | 2651 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); |
| 2657 } | 2652 } |
| 2658 | 2653 |
| 2659 | 2654 |
| 2660 } } // namespace v8::internal | 2655 } } // namespace v8::internal |
| OLD | NEW |