| 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 5818 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5829 RegisterEnvironmentForDeoptimization(env, Safepoint::kLazyDeopt); | 5829 RegisterEnvironmentForDeoptimization(env, Safepoint::kLazyDeopt); |
| 5830 safepoints_.RecordLazyDeoptimizationIndex(env->deoptimization_index()); | 5830 safepoints_.RecordLazyDeoptimizationIndex(env->deoptimization_index()); |
| 5831 } | 5831 } |
| 5832 | 5832 |
| 5833 | 5833 |
| 5834 void LCodeGen::DoDeoptimize(LDeoptimize* instr) { | 5834 void LCodeGen::DoDeoptimize(LDeoptimize* instr) { |
| 5835 DeoptimizeIf(al, instr->environment()); | 5835 DeoptimizeIf(al, instr->environment()); |
| 5836 } | 5836 } |
| 5837 | 5837 |
| 5838 | 5838 |
| 5839 void LCodeGen::DoDummyUse(LDummyUse* instr) { |
| 5840 // Nothing to see here, move on! |
| 5841 } |
| 5842 |
| 5843 |
| 5839 void LCodeGen::DoDeleteProperty(LDeleteProperty* instr) { | 5844 void LCodeGen::DoDeleteProperty(LDeleteProperty* instr) { |
| 5840 Register object = ToRegister(instr->object()); | 5845 Register object = ToRegister(instr->object()); |
| 5841 Register key = ToRegister(instr->key()); | 5846 Register key = ToRegister(instr->key()); |
| 5842 Register strict = scratch0(); | 5847 Register strict = scratch0(); |
| 5843 __ mov(strict, Operand(Smi::FromInt(strict_mode_flag()))); | 5848 __ mov(strict, Operand(Smi::FromInt(strict_mode_flag()))); |
| 5844 __ Push(object, key, strict); | 5849 __ Push(object, key, strict); |
| 5845 ASSERT(instr->HasPointerMap()); | 5850 ASSERT(instr->HasPointerMap()); |
| 5846 LPointerMap* pointers = instr->pointer_map(); | 5851 LPointerMap* pointers = instr->pointer_map(); |
| 5847 RecordPosition(pointers->position()); | 5852 RecordPosition(pointers->position()); |
| 5848 SafepointGenerator safepoint_generator( | 5853 SafepointGenerator safepoint_generator( |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6028 __ sub(scratch, result, Operand(index, LSL, kPointerSizeLog2 - kSmiTagSize)); | 6033 __ sub(scratch, result, Operand(index, LSL, kPointerSizeLog2 - kSmiTagSize)); |
| 6029 __ ldr(result, FieldMemOperand(scratch, | 6034 __ ldr(result, FieldMemOperand(scratch, |
| 6030 FixedArray::kHeaderSize - kPointerSize)); | 6035 FixedArray::kHeaderSize - kPointerSize)); |
| 6031 __ bind(&done); | 6036 __ bind(&done); |
| 6032 } | 6037 } |
| 6033 | 6038 |
| 6034 | 6039 |
| 6035 #undef __ | 6040 #undef __ |
| 6036 | 6041 |
| 6037 } } // namespace v8::internal | 6042 } } // namespace v8::internal |
| OLD | NEW |