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

Side by Side Diff: src/crankshaft/lithium-allocator.cc

Issue 2394213003: Named all zones in the project (Closed)
Patch Set: Merge branch 'master' into zonenames Created 4 years, 2 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
« no previous file with comments | « src/crankshaft/hydrogen.h ('k') | src/debug/debug-scopes.cc » ('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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/crankshaft/lithium-allocator.h" 5 #include "src/crankshaft/lithium-allocator.h"
6 6
7 #include "src/crankshaft/hydrogen.h" 7 #include "src/crankshaft/hydrogen.h"
8 #include "src/crankshaft/lithium-inl.h" 8 #include "src/crankshaft/lithium-inl.h"
9 #include "src/crankshaft/lithium-allocator-inl.h" 9 #include "src/crankshaft/lithium-allocator-inl.h"
10 #include "src/register-configuration.h" 10 #include "src/register-configuration.h"
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 if (a == NULL || a->start().Value() > other->End().Value()) break; 506 if (a == NULL || a->start().Value() > other->End().Value()) break;
507 AdvanceLastProcessedMarker(a, advance_last_processed_up_to); 507 AdvanceLastProcessedMarker(a, advance_last_processed_up_to);
508 } else { 508 } else {
509 b = b->next(); 509 b = b->next();
510 } 510 }
511 } 511 }
512 return LifetimePosition::Invalid(); 512 return LifetimePosition::Invalid();
513 } 513 }
514 514
515 LAllocator::LAllocator(int num_values, HGraph* graph) 515 LAllocator::LAllocator(int num_values, HGraph* graph)
516 : zone_(graph->isolate()->allocator()), 516 : zone_(graph->isolate()->allocator(), ZONE_NAME),
517 chunk_(NULL), 517 chunk_(NULL),
518 live_in_sets_(graph->blocks()->length(), zone()), 518 live_in_sets_(graph->blocks()->length(), zone()),
519 live_ranges_(num_values * 2, zone()), 519 live_ranges_(num_values * 2, zone()),
520 fixed_live_ranges_(NULL), 520 fixed_live_ranges_(NULL),
521 fixed_double_live_ranges_(NULL), 521 fixed_double_live_ranges_(NULL),
522 unhandled_live_ranges_(num_values * 2, zone()), 522 unhandled_live_ranges_(num_values * 2, zone()),
523 active_live_ranges_(8, zone()), 523 active_live_ranges_(8, zone()),
524 inactive_live_ranges_(8, zone()), 524 inactive_live_ranges_(8, zone()),
525 reusable_slots_(8, zone()), 525 reusable_slots_(8, zone()),
526 next_virtual_register_(num_values), 526 next_virtual_register_(num_values),
(...skipping 1655 matching lines...) Expand 10 before | Expand all | Expand 10 after
2182 } 2182 }
2183 2183
2184 #ifdef DEBUG 2184 #ifdef DEBUG
2185 if (allocator_ != NULL) allocator_->Verify(); 2185 if (allocator_ != NULL) allocator_->Verify();
2186 #endif 2186 #endif
2187 } 2187 }
2188 2188
2189 2189
2190 } // namespace internal 2190 } // namespace internal
2191 } // namespace v8 2191 } // namespace v8
OLDNEW
« no previous file with comments | « src/crankshaft/hydrogen.h ('k') | src/debug/debug-scopes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698