Index: runtime/vm/zone.cc |
diff --git a/runtime/vm/zone.cc b/runtime/vm/zone.cc |
index ac79f356b6c94d9eb50f8b688465736eceaf8252..bace1f3534dc77e676e01515b232018e7b3ecb41 100644 |
--- a/runtime/vm/zone.cc |
+++ b/runtime/vm/zone.cc |
@@ -59,7 +59,7 @@ Zone::Segment* Zone::Segment::New(intptr_t size, Zone::Segment* next) { |
ASSERT(size >= 0); |
Segment* result = reinterpret_cast<Segment*>(malloc(size)); |
if (result == NULL) { |
- FATAL("Out of memory.\n"); |
+ OUT_OF_MEMORY(); |
} |
ASSERT(Utils::IsAligned(result->start(), Zone::kAlignment)); |
#ifdef DEBUG |