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

Unified Diff: src/lithium-allocator-inl.h

Issue 194793002: [v8-dev] ARM: safepoints frame optimization (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: src/lithium-allocator-inl.h
diff --git a/src/lithium-allocator-inl.h b/src/lithium-allocator-inl.h
index 1d43b269f9ae099289819b8bb56ec554e3193676..6ad9c9e50a9226300d9ff5ad4a53c778f7ab1462 100644
--- a/src/lithium-allocator-inl.h
+++ b/src/lithium-allocator-inl.h
@@ -150,9 +150,16 @@ void UseIterator::Advance() {
void LAllocator::SetLiveRangeAssignedRegister(LiveRange* range, int reg) {
if (range->Kind() == DOUBLE_REGISTERS) {
assigned_double_registers_->Add(reg);
+ if (!range->IsFixed()) {
+ modified_double_registers_ |=
+ 1 << DoubleRegister::FromAllocationIndex(reg).code();
+ }
} else {
ASSERT(range->Kind() == GENERAL_REGISTERS);
assigned_registers_->Add(reg);
+ if (!range->IsFixed()) {
+ modified_registers_ |= 1 << Register::FromAllocationIndex(reg).code();
+ }
}
range->set_assigned_register(reg, chunk()->zone());
}
« src/arm/assembler-arm.h ('K') | « src/lithium-allocator.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698