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

Side by Side Diff: src/x64/lithium-codegen-x64.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/ia32/lithium-ia32.cc ('k') | src/x64/lithium-x64.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 5280 matching lines...) Expand 10 before | Expand all | Expand 10 after
5291 RegisterEnvironmentForDeoptimization(env, Safepoint::kLazyDeopt); 5291 RegisterEnvironmentForDeoptimization(env, Safepoint::kLazyDeopt);
5292 safepoints_.RecordLazyDeoptimizationIndex(env->deoptimization_index()); 5292 safepoints_.RecordLazyDeoptimizationIndex(env->deoptimization_index());
5293 } 5293 }
5294 5294
5295 5295
5296 void LCodeGen::DoDeoptimize(LDeoptimize* instr) { 5296 void LCodeGen::DoDeoptimize(LDeoptimize* instr) {
5297 DeoptimizeIf(no_condition, instr->environment()); 5297 DeoptimizeIf(no_condition, instr->environment());
5298 } 5298 }
5299 5299
5300 5300
5301 void LCodeGen::DoDummyUse(LDummyUse* instr) {
5302 // Nothing to see here, move on!
5303 }
5304
5305
5301 void LCodeGen::DoDeleteProperty(LDeleteProperty* instr) { 5306 void LCodeGen::DoDeleteProperty(LDeleteProperty* instr) {
5302 LOperand* obj = instr->object(); 5307 LOperand* obj = instr->object();
5303 LOperand* key = instr->key(); 5308 LOperand* key = instr->key();
5304 EmitPushTaggedOperand(obj); 5309 EmitPushTaggedOperand(obj);
5305 EmitPushTaggedOperand(key); 5310 EmitPushTaggedOperand(key);
5306 ASSERT(instr->HasPointerMap()); 5311 ASSERT(instr->HasPointerMap());
5307 LPointerMap* pointers = instr->pointer_map(); 5312 LPointerMap* pointers = instr->pointer_map();
5308 RecordPosition(pointers->position()); 5313 RecordPosition(pointers->position());
5309 // Create safepoint generator that will also ensure enough space in the 5314 // Create safepoint generator that will also ensure enough space in the
5310 // reloc info for patching in deoptimization (since this is invoking a 5315 // reloc info for patching in deoptimization (since this is invoking a
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
5491 FixedArray::kHeaderSize - kPointerSize)); 5496 FixedArray::kHeaderSize - kPointerSize));
5492 __ bind(&done); 5497 __ bind(&done);
5493 } 5498 }
5494 5499
5495 5500
5496 #undef __ 5501 #undef __
5497 5502
5498 } } // namespace v8::internal 5503 } } // namespace v8::internal
5499 5504
5500 #endif // V8_TARGET_ARCH_X64 5505 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.cc ('k') | src/x64/lithium-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698