Index: src/crankshaft/lithium-allocator.cc |
diff --git a/src/crankshaft/lithium-allocator.cc b/src/crankshaft/lithium-allocator.cc |
index 5d0529264207b6b7f3c1a7e5b3bf1d5bc2ede29a..6155dc0f2379344ef28e1aae27c504cb98e0a5fa 100644 |
--- a/src/crankshaft/lithium-allocator.cc |
+++ b/src/crankshaft/lithium-allocator.cc |
@@ -510,9 +510,9 @@ LifetimePosition LiveRange::FirstIntersection(LiveRange* other) { |
return LifetimePosition::Invalid(); |
} |
- |
LAllocator::LAllocator(int num_values, HGraph* graph) |
- : chunk_(NULL), |
+ : zone_(graph->isolate()->allocator()), |
+ chunk_(NULL), |
live_in_sets_(graph->blocks()->length(), zone()), |
live_ranges_(num_values * 2, zone()), |
fixed_live_ranges_(NULL), |
@@ -529,7 +529,6 @@ LAllocator::LAllocator(int num_values, HGraph* graph) |
has_osr_entry_(false), |
allocation_ok_(true) {} |
- |
void LAllocator::InitializeLivenessAnalysis() { |
// Initialize the live_in sets for each block to NULL. |
int block_count = graph_->blocks()->length(); |