| 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 683 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 694 return DefineAsRegister(new(zone()) LDummyUse(UseAny(instr->value()))); | 694 return DefineAsRegister(new(zone()) LDummyUse(UseAny(instr->value()))); |
| 695 } | 695 } |
| 696 | 696 |
| 697 | 697 |
| 698 LInstruction* LChunkBuilder::DoEnvironmentMarker(HEnvironmentMarker* instr) { | 698 LInstruction* LChunkBuilder::DoEnvironmentMarker(HEnvironmentMarker* instr) { |
| 699 UNREACHABLE(); | 699 UNREACHABLE(); |
| 700 return NULL; | 700 return NULL; |
| 701 } | 701 } |
| 702 | 702 |
| 703 | 703 |
| 704 LInstruction* LChunkBuilder::DoSoftDeoptimize(HSoftDeoptimize* instr) { | |
| 705 return AssignEnvironment(new(zone()) LDeoptimize); | |
| 706 } | |
| 707 | |
| 708 | |
| 709 LInstruction* LChunkBuilder::DoDeoptimize(HDeoptimize* instr) { | 704 LInstruction* LChunkBuilder::DoDeoptimize(HDeoptimize* instr) { |
| 710 return AssignEnvironment(new(zone()) LDeoptimize); | 705 return AssignEnvironment(new(zone()) LDeoptimize); |
| 711 } | 706 } |
| 712 | 707 |
| 713 | 708 |
| 714 LInstruction* LChunkBuilder::DoShift(Token::Value op, | 709 LInstruction* LChunkBuilder::DoShift(Token::Value op, |
| 715 HBitwiseBinaryOperation* instr) { | 710 HBitwiseBinaryOperation* instr) { |
| 716 if (instr->representation().IsSmiOrTagged()) { | 711 if (instr->representation().IsSmiOrTagged()) { |
| 717 ASSERT(instr->left()->representation().IsSmiOrTagged()); | 712 ASSERT(instr->left()->representation().IsSmiOrTagged()); |
| 718 ASSERT(instr->right()->representation().IsSmiOrTagged()); | 713 ASSERT(instr->right()->representation().IsSmiOrTagged()); |
| (...skipping 1921 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2640 | 2635 |
| 2641 | 2636 |
| 2642 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2637 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
| 2643 LOperand* object = UseRegister(instr->object()); | 2638 LOperand* object = UseRegister(instr->object()); |
| 2644 LOperand* index = UseRegister(instr->index()); | 2639 LOperand* index = UseRegister(instr->index()); |
| 2645 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); | 2640 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); |
| 2646 } | 2641 } |
| 2647 | 2642 |
| 2648 | 2643 |
| 2649 } } // namespace v8::internal | 2644 } } // namespace v8::internal |
| OLD | NEW |