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 5602 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5613 RegisterEnvironmentForDeoptimization(env, Safepoint::kLazyDeopt); | 5613 RegisterEnvironmentForDeoptimization(env, Safepoint::kLazyDeopt); |
5614 safepoints_.RecordLazyDeoptimizationIndex(env->deoptimization_index()); | 5614 safepoints_.RecordLazyDeoptimizationIndex(env->deoptimization_index()); |
5615 } | 5615 } |
5616 | 5616 |
5617 | 5617 |
5618 void LCodeGen::DoDeoptimize(LDeoptimize* instr) { | 5618 void LCodeGen::DoDeoptimize(LDeoptimize* instr) { |
5619 DeoptimizeIf(al, instr->environment(), zero_reg, Operand(zero_reg)); | 5619 DeoptimizeIf(al, instr->environment(), zero_reg, Operand(zero_reg)); |
5620 } | 5620 } |
5621 | 5621 |
5622 | 5622 |
| 5623 void LCodeGen::DoDummyUse(LDummyUse* instr) { |
| 5624 // Nothing to see here, move on! |
| 5625 } |
| 5626 |
| 5627 |
5623 void LCodeGen::DoDeleteProperty(LDeleteProperty* instr) { | 5628 void LCodeGen::DoDeleteProperty(LDeleteProperty* instr) { |
5624 Register object = ToRegister(instr->object()); | 5629 Register object = ToRegister(instr->object()); |
5625 Register key = ToRegister(instr->key()); | 5630 Register key = ToRegister(instr->key()); |
5626 Register strict = scratch0(); | 5631 Register strict = scratch0(); |
5627 __ li(strict, Operand(Smi::FromInt(strict_mode_flag()))); | 5632 __ li(strict, Operand(Smi::FromInt(strict_mode_flag()))); |
5628 __ Push(object, key, strict); | 5633 __ Push(object, key, strict); |
5629 ASSERT(instr->HasPointerMap()); | 5634 ASSERT(instr->HasPointerMap()); |
5630 LPointerMap* pointers = instr->pointer_map(); | 5635 LPointerMap* pointers = instr->pointer_map(); |
5631 RecordPosition(pointers->position()); | 5636 RecordPosition(pointers->position()); |
5632 SafepointGenerator safepoint_generator( | 5637 SafepointGenerator safepoint_generator( |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5807 __ Subu(scratch, result, scratch); | 5812 __ Subu(scratch, result, scratch); |
5808 __ lw(result, FieldMemOperand(scratch, | 5813 __ lw(result, FieldMemOperand(scratch, |
5809 FixedArray::kHeaderSize - kPointerSize)); | 5814 FixedArray::kHeaderSize - kPointerSize)); |
5810 __ bind(&done); | 5815 __ bind(&done); |
5811 } | 5816 } |
5812 | 5817 |
5813 | 5818 |
5814 #undef __ | 5819 #undef __ |
5815 | 5820 |
5816 } } // namespace v8::internal | 5821 } } // namespace v8::internal |
OLD | NEW |