mirror of
https://github.com/dart-lang/sdk
synced 2024-09-19 20:41:45 +00:00
Fix broken windows build
I changed the VirtualMemoryCompressedHeap::Cleanup() signature ages ago, but forgot to update the windows caller. Bug: https://github.com/dart-lang/sdk/issues/46468 Change-Id: I2624bce6bcf03867321d1e35f96843c0473d5e4f TEST=CI Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/206667 Commit-Queue: Liam Appelbe <liama@google.com> Reviewed-by: Ryan Macnak <rmacnak@google.com>
This commit is contained in:
parent
0a064b9ed7
commit
4d92121a1a
|
@ -74,8 +74,9 @@ void VirtualMemory::Init() {
|
|||
|
||||
void VirtualMemory::Cleanup() {
|
||||
#if defined(DART_COMPRESSED_POINTERS)
|
||||
VirtualFree(VirtualMemoryCompressedHeap::Cleanup(), kCompressedHeapSize,
|
||||
MEM_RELEASE);
|
||||
void* heap_base = VirtualMemoryCompressedHeap::GetRegion();
|
||||
VirtualFree(heap_base, kCompressedHeapSize, MEM_RELEASE);
|
||||
VirtualMemoryCompressedHeap::Cleanup();
|
||||
#endif // defined(DART_COMPRESSED_POINTERS)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue