Index: src/lithium-allocator.cc |
diff --git a/src/lithium-allocator.cc b/src/lithium-allocator.cc |
index bbc405ba0bb5947123da521b24b19438ea8d6c62..9134f373f3d495f5a44fa1f58e3bc6966d933522 100644 |
--- a/src/lithium-allocator.cc |
+++ b/src/lithium-allocator.cc |
@@ -1062,9 +1062,9 @@ void LAllocator::ResolvePhis(HBasicBlock* block) { |
} |
-bool LAllocator::Allocate(LChunk* chunk) { |
+bool LAllocator::Allocate(LChunkBase* chunk) { |
ASSERT(chunk_ == NULL); |
- chunk_ = chunk; |
+ chunk_ = static_cast<LChunk*>(chunk); |
MeetRegisterConstraints(); |
if (!AllocationOk()) return false; |
ResolvePhis(); |