Index: src/lithium-allocator.cc |
=================================================================== |
--- src/lithium-allocator.cc (revision 6042) |
+++ src/lithium-allocator.cc (working copy) |
@@ -526,7 +526,7 @@ |
} |
if (a->start().Value() < b->start().Value()) { |
a = a->next(); |
- if (a == NULL && a->start().Value() > other->End().Value()) break; |
+ if (a == NULL || a->start().Value() > other->End().Value()) break; |
AdvanceLastProcessedMarker(a, advance_last_processed_up_to); |
} else { |
b = b->next(); |