Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Side by Side Diff: src/arm/lithium-codegen-arm.cc

Issue 11377135: Don't emit code for instructions that are hiding behind an HSoftDeoptimize (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: review feedback Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/arm/lithium-arm.cc ('k') | src/hydrogen.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/arm/lithium-arm.cc ('k') | src/hydrogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698