OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
801 allocator_->RecordTemporary(operand); | 801 allocator_->RecordTemporary(operand); |
802 return operand; | 802 return operand; |
803 } | 803 } |
804 | 804 |
805 | 805 |
806 LInstruction* LChunkBuilder::DoBlockEntry(HBlockEntry* instr) { | 806 LInstruction* LChunkBuilder::DoBlockEntry(HBlockEntry* instr) { |
807 return new LLabel(instr->block()); | 807 return new LLabel(instr->block()); |
808 } | 808 } |
809 | 809 |
810 | 810 |
| 811 LInstruction* LChunkBuilder::DoSoftDeoptimize(HSoftDeoptimize* instr) { |
| 812 return AssignEnvironment(new LDeoptimize); |
| 813 } |
| 814 |
| 815 |
811 LInstruction* LChunkBuilder::DoDeoptimize(HDeoptimize* instr) { | 816 LInstruction* LChunkBuilder::DoDeoptimize(HDeoptimize* instr) { |
812 return AssignEnvironment(new LDeoptimize); | 817 return AssignEnvironment(new LDeoptimize); |
813 } | 818 } |
814 | 819 |
815 | 820 |
816 LInstruction* LChunkBuilder::DoBit(Token::Value op, | 821 LInstruction* LChunkBuilder::DoBit(Token::Value op, |
817 HBitwiseBinaryOperation* instr) { | 822 HBitwiseBinaryOperation* instr) { |
818 if (instr->representation().IsInteger32()) { | 823 if (instr->representation().IsInteger32()) { |
819 ASSERT(instr->left()->representation().IsInteger32()); | 824 ASSERT(instr->left()->representation().IsInteger32()); |
820 ASSERT(instr->right()->representation().IsInteger32()); | 825 ASSERT(instr->right()->representation().IsInteger32()); |
(...skipping 1411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2232 | 2237 |
2233 LInstruction* LChunkBuilder::DoIn(HIn* instr) { | 2238 LInstruction* LChunkBuilder::DoIn(HIn* instr) { |
2234 LOperand* key = UseRegisterAtStart(instr->key()); | 2239 LOperand* key = UseRegisterAtStart(instr->key()); |
2235 LOperand* object = UseRegisterAtStart(instr->object()); | 2240 LOperand* object = UseRegisterAtStart(instr->object()); |
2236 LIn* result = new LIn(key, object); | 2241 LIn* result = new LIn(key, object); |
2237 return MarkAsCall(DefineFixed(result, r0), instr); | 2242 return MarkAsCall(DefineFixed(result, r0), instr); |
2238 } | 2243 } |
2239 | 2244 |
2240 | 2245 |
2241 } } // namespace v8::internal | 2246 } } // namespace v8::internal |
OLD | NEW |