commit | 86c05723a808b3009ab0cb9213c78fc666c3b4ff | [log] [tgz] |
---|---|---|
author | Liam Appelbe <liama@google.com> | Fri Jul 16 23:21:54 2021 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Fri Jul 16 23:21:54 2021 +0000 |
tree | 1c0883a45d9acd8832972ace857c5339c4d186ea | |
parent | cfc8ad4e7f09f35af5b2a12c3ae70262ed82ae42 [diff] |
Use the correct error macro in windows compressed pointers TEST=CI Change-Id: I2bd53dbfd8053390258adc23aab67c961f325fbb Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207204 Commit-Queue: Liam Appelbe <liama@google.com> Reviewed-by: Alexander Markov <alexmarkov@google.com>
diff --git a/runtime/vm/virtual_memory_win.cc b/runtime/vm/virtual_memory_win.cc index 1bab7a3..e352adc 100644 --- a/runtime/vm/virtual_memory_win.cc +++ b/runtime/vm/virtual_memory_win.cc
@@ -62,7 +62,7 @@ PAGE_READWRITE, nullptr); if (address == nullptr) { int error = GetLastError(); - FATAL2("Failed to reserve region for compressed heap: %d", error); + FATAL("Failed to reserve region for compressed heap: %d", error); } VirtualMemoryCompressedHeap::Init(address); }