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

Unified Diff: src/compiler/register-allocator.h

Issue 778093003: Switch two ZoneLists to ZoneVector in register allocator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix Win64 build. Created 6 years 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
« no previous file with comments | « no previous file | src/compiler/register-allocator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/register-allocator.h
diff --git a/src/compiler/register-allocator.h b/src/compiler/register-allocator.h
index fe5aa73b28b9bb3cb21abc2201b5d9c8bbd8084a..504cdb229f22247f077b919a4648899263614ef2 100644
--- a/src/compiler/register-allocator.h
+++ b/src/compiler/register-allocator.h
@@ -357,7 +357,7 @@ class RegisterAllocator FINAL : public ZoneObject {
bool AllocationOk() { return allocation_ok_; }
- const ZoneList<LiveRange*>& live_ranges() const { return live_ranges_; }
+ const ZoneVector<LiveRange*>& live_ranges() const { return live_ranges_; }
const ZoneVector<LiveRange*>& fixed_live_ranges() const {
return fixed_live_ranges_;
}
@@ -555,10 +555,10 @@ class RegisterAllocator FINAL : public ZoneObject {
// During liveness analysis keep a mapping from block id to live_in sets
// for blocks already analyzed.
- ZoneList<BitVector*> live_in_sets_;
+ ZoneVector<BitVector*> live_in_sets_;
// Liveness analysis results.
- ZoneList<LiveRange*> live_ranges_;
+ ZoneVector<LiveRange*> live_ranges_;
// Lists of live ranges
ZoneVector<LiveRange*> fixed_live_ranges_;
« no previous file with comments | « no previous file | src/compiler/register-allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698