| 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 752 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 763 return DefineAsRegister(new(zone()) LDummyUse(UseAny(instr->value()))); | 763 return DefineAsRegister(new(zone()) LDummyUse(UseAny(instr->value()))); |
| 764 } | 764 } |
| 765 | 765 |
| 766 | 766 |
| 767 LInstruction* LChunkBuilder::DoEnvironmentMarker(HEnvironmentMarker* instr) { | 767 LInstruction* LChunkBuilder::DoEnvironmentMarker(HEnvironmentMarker* instr) { |
| 768 UNREACHABLE(); | 768 UNREACHABLE(); |
| 769 return NULL; | 769 return NULL; |
| 770 } | 770 } |
| 771 | 771 |
| 772 | 772 |
| 773 LInstruction* LChunkBuilder::DoSoftDeoptimize(HSoftDeoptimize* instr) { | |
| 774 return AssignEnvironment(new(zone()) LDeoptimize); | |
| 775 } | |
| 776 | |
| 777 | |
| 778 LInstruction* LChunkBuilder::DoDeoptimize(HDeoptimize* instr) { | 773 LInstruction* LChunkBuilder::DoDeoptimize(HDeoptimize* instr) { |
| 779 return AssignEnvironment(new(zone()) LDeoptimize); | 774 return AssignEnvironment(new(zone()) LDeoptimize); |
| 780 } | 775 } |
| 781 | 776 |
| 782 | 777 |
| 783 LInstruction* LChunkBuilder::DoShift(Token::Value op, | 778 LInstruction* LChunkBuilder::DoShift(Token::Value op, |
| 784 HBitwiseBinaryOperation* instr) { | 779 HBitwiseBinaryOperation* instr) { |
| 785 if (instr->representation().IsSmiOrTagged()) { | 780 if (instr->representation().IsSmiOrTagged()) { |
| 786 ASSERT(instr->left()->representation().IsSmiOrTagged()); | 781 ASSERT(instr->left()->representation().IsSmiOrTagged()); |
| 787 ASSERT(instr->right()->representation().IsSmiOrTagged()); | 782 ASSERT(instr->right()->representation().IsSmiOrTagged()); |
| (...skipping 2011 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2799 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2794 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
| 2800 LOperand* object = UseRegister(instr->object()); | 2795 LOperand* object = UseRegister(instr->object()); |
| 2801 LOperand* index = UseTempRegister(instr->index()); | 2796 LOperand* index = UseTempRegister(instr->index()); |
| 2802 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); | 2797 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); |
| 2803 } | 2798 } |
| 2804 | 2799 |
| 2805 | 2800 |
| 2806 } } // namespace v8::internal | 2801 } } // namespace v8::internal |
| 2807 | 2802 |
| 2808 #endif // V8_TARGET_ARCH_IA32 | 2803 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |