| 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 701 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 712 return DefineAsRegister(new(zone()) LDummyUse(UseAny(instr->value()))); | 712 return DefineAsRegister(new(zone()) LDummyUse(UseAny(instr->value()))); |
| 713 } | 713 } |
| 714 | 714 |
| 715 | 715 |
| 716 LInstruction* LChunkBuilder::DoEnvironmentMarker(HEnvironmentMarker* instr) { | 716 LInstruction* LChunkBuilder::DoEnvironmentMarker(HEnvironmentMarker* instr) { |
| 717 UNREACHABLE(); | 717 UNREACHABLE(); |
| 718 return NULL; | 718 return NULL; |
| 719 } | 719 } |
| 720 | 720 |
| 721 | 721 |
| 722 LInstruction* LChunkBuilder::DoSoftDeoptimize(HSoftDeoptimize* instr) { | |
| 723 return AssignEnvironment(new(zone()) LDeoptimize); | |
| 724 } | |
| 725 | |
| 726 | |
| 727 LInstruction* LChunkBuilder::DoDeoptimize(HDeoptimize* instr) { | 722 LInstruction* LChunkBuilder::DoDeoptimize(HDeoptimize* instr) { |
| 728 return AssignEnvironment(new(zone()) LDeoptimize); | 723 return AssignEnvironment(new(zone()) LDeoptimize); |
| 729 } | 724 } |
| 730 | 725 |
| 731 | 726 |
| 732 LInstruction* LChunkBuilder::DoShift(Token::Value op, | 727 LInstruction* LChunkBuilder::DoShift(Token::Value op, |
| 733 HBitwiseBinaryOperation* instr) { | 728 HBitwiseBinaryOperation* instr) { |
| 734 if (instr->representation().IsSmiOrTagged()) { | 729 if (instr->representation().IsSmiOrTagged()) { |
| 735 ASSERT(instr->left()->representation().IsSmiOrTagged()); | 730 ASSERT(instr->left()->representation().IsSmiOrTagged()); |
| 736 ASSERT(instr->right()->representation().IsSmiOrTagged()); | 731 ASSERT(instr->right()->representation().IsSmiOrTagged()); |
| (...skipping 1854 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2591 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2586 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
| 2592 LOperand* object = UseRegister(instr->object()); | 2587 LOperand* object = UseRegister(instr->object()); |
| 2593 LOperand* index = UseTempRegister(instr->index()); | 2588 LOperand* index = UseTempRegister(instr->index()); |
| 2594 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); | 2589 return DefineSameAsFirst(new(zone()) LLoadFieldByIndex(object, index)); |
| 2595 } | 2590 } |
| 2596 | 2591 |
| 2597 | 2592 |
| 2598 } } // namespace v8::internal | 2593 } } // namespace v8::internal |
| 2599 | 2594 |
| 2600 #endif // V8_TARGET_ARCH_X64 | 2595 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |