| 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 697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 708 return DefineAsRegister(new(zone()) LDummyUse(UseAny(instr->value()))); | 708 return DefineAsRegister(new(zone()) LDummyUse(UseAny(instr->value()))); |
| 709 } | 709 } |
| 710 | 710 |
| 711 | 711 |
| 712 LInstruction* LChunkBuilder::DoEnvironmentMarker(HEnvironmentMarker* instr) { | 712 LInstruction* LChunkBuilder::DoEnvironmentMarker(HEnvironmentMarker* instr) { |
| 713 UNREACHABLE(); | 713 UNREACHABLE(); |
| 714 return NULL; | 714 return NULL; |
| 715 } | 715 } |
| 716 | 716 |
| 717 | 717 |
| 718 LInstruction* LChunkBuilder::DoSoftDeoptimize(HSoftDeoptimize* instr) { | |
| 719 return AssignEnvironment(new(zone()) LDeoptimize); | |
| 720 } | |
| 721 | |
| 722 | |
| 723 LInstruction* LChunkBuilder::DoDeoptimize(HDeoptimize* instr) { | 718 LInstruction* LChunkBuilder::DoDeoptimize(HDeoptimize* instr) { |
| 724 return AssignEnvironment(new(zone()) LDeoptimize); | 719 return AssignEnvironment(new(zone()) LDeoptimize); |
| 725 } | 720 } |
| 726 | 721 |
| 727 | 722 |
| 728 LInstruction* LChunkBuilder::DoShift(Token::Value op, | 723 LInstruction* LChunkBuilder::DoShift(Token::Value op, |
| 729 HBitwiseBinaryOperation* instr) { | 724 HBitwiseBinaryOperation* instr) { |
| 730 if (instr->representation().IsSmiOrTagged()) { | 725 if (instr->representation().IsSmiOrTagged()) { |
| 731 ASSERT(instr->left()->representation().IsSmiOrTagged()); | 726 ASSERT(instr->left()->representation().IsSmiOrTagged()); |
| 732 ASSERT(instr->right()->representation().IsSmiOrTagged()); | 727 ASSERT(instr->right()->representation().IsSmiOrTagged()); |
| (...skipping 1836 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2569 | 2564 |
| 2570 | 2565 |
| 2571 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { | 2566 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { |
| 2572 LOperand* object = UseRegister(instr->object()); | 2567 LOperand* object = UseRegister(instr->object()); |
| 2573 LOperand* index = UseRegister(instr->index()); | 2568 LOperand* index = UseRegister(instr->index()); |
| 2574 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); | 2569 return DefineAsRegister(new(zone()) LLoadFieldByIndex(object, index)); |
| 2575 } | 2570 } |
| 2576 | 2571 |
| 2577 | 2572 |
| 2578 } } // namespace v8::internal | 2573 } } // namespace v8::internal |
| OLD | NEW |