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

Side by Side Diff: src/ia32/lithium-codegen-ia32.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/hydrogen-instructions.cc ('k') | src/ia32/lithium-ia32.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 5678 matching lines...) Expand 10 before | Expand all | Expand 10 after
5689 RegisterEnvironmentForDeoptimization(env, Safepoint::kLazyDeopt); 5689 RegisterEnvironmentForDeoptimization(env, Safepoint::kLazyDeopt);
5690 safepoints_.RecordLazyDeoptimizationIndex(env->deoptimization_index()); 5690 safepoints_.RecordLazyDeoptimizationIndex(env->deoptimization_index());
5691 } 5691 }
5692 5692
5693 5693
5694 void LCodeGen::DoDeoptimize(LDeoptimize* instr) { 5694 void LCodeGen::DoDeoptimize(LDeoptimize* instr) {
5695 DeoptimizeIf(no_condition, instr->environment()); 5695 DeoptimizeIf(no_condition, instr->environment());
5696 } 5696 }
5697 5697
5698 5698
5699 void LCodeGen::DoDummyUse(LDummyUse* instr) {
5700 // Nothing to see here, move on!
5701 }
5702
5703
5699 void LCodeGen::DoDeleteProperty(LDeleteProperty* instr) { 5704 void LCodeGen::DoDeleteProperty(LDeleteProperty* instr) {
5700 LOperand* obj = instr->object(); 5705 LOperand* obj = instr->object();
5701 LOperand* key = instr->key(); 5706 LOperand* key = instr->key();
5702 __ push(ToOperand(obj)); 5707 __ push(ToOperand(obj));
5703 EmitPushTaggedOperand(key); 5708 EmitPushTaggedOperand(key);
5704 ASSERT(instr->HasPointerMap()); 5709 ASSERT(instr->HasPointerMap());
5705 LPointerMap* pointers = instr->pointer_map(); 5710 LPointerMap* pointers = instr->pointer_map();
5706 RecordPosition(pointers->position()); 5711 RecordPosition(pointers->position());
5707 // Create safepoint generator that will also ensure enough space in the 5712 // Create safepoint generator that will also ensure enough space in the
5708 // reloc info for patching in deoptimization (since this is invoking a 5713 // reloc info for patching in deoptimization (since this is invoking a
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
5893 FixedArray::kHeaderSize - kPointerSize)); 5898 FixedArray::kHeaderSize - kPointerSize));
5894 __ bind(&done); 5899 __ bind(&done);
5895 } 5900 }
5896 5901
5897 5902
5898 #undef __ 5903 #undef __
5899 5904
5900 } } // namespace v8::internal 5905 } } // namespace v8::internal
5901 5906
5902 #endif // V8_TARGET_ARCH_IA32 5907 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.cc ('k') | src/ia32/lithium-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698