Index: src/spaces.cc |
diff --git a/src/spaces.cc b/src/spaces.cc |
index 9ae2e625d042076a279512f7b3223d2b884df1e3..0dc417d79149456f8eefe203d3df1eb460ceb6e7 100644 |
--- a/src/spaces.cc |
+++ b/src/spaces.cc |
@@ -341,7 +341,9 @@ void MemoryAllocator::FreeMemory(Address base, |
isolate_->code_range()->FreeRawMemory(base, size); |
} else { |
ASSERT(executable == NOT_EXECUTABLE || !isolate_->code_range()->exists()); |
- VirtualMemory::ReleaseRegion(base, size); |
+ bool result = VirtualMemory::ReleaseRegion(base, size); |
+ USE(result); |
+ ASSERT(result); |
} |
} |