Index: runtime/vm/virtual_memory_fuchsia.cc |
diff --git a/runtime/vm/virtual_memory_fuchsia.cc b/runtime/vm/virtual_memory_fuchsia.cc |
index 49b6e4a6571b91c786dfb2bc16d6a244979feb0d..bd78bf98d6f42b6a5e0eb5698a7eaa4a4118a807 100644 |
--- a/runtime/vm/virtual_memory_fuchsia.cc |
+++ b/runtime/vm/virtual_memory_fuchsia.cc |
@@ -34,12 +34,10 @@ VirtualMemory* VirtualMemory::ReserveInternal(intptr_t size) { |
// TODO(zra): map with PERM_NONE, when that works, and relax with |
// Commit and Protect when they are implemented. |
// Issue MG-161. |
- const int prot = MX_VM_FLAG_PERM_READ | |
- MX_VM_FLAG_PERM_WRITE | |
- MX_VM_FLAG_PERM_EXECUTE; |
+ const int prot = |
+ MX_VM_FLAG_PERM_READ | MX_VM_FLAG_PERM_WRITE | MX_VM_FLAG_PERM_EXECUTE; |
uintptr_t addr; |
- status = mx_process_map_vm( |
- mx_process_self(), vmo, 0, size, &addr, prot); |
+ status = mx_process_map_vm(mx_process_self(), vmo, 0, size, &addr, prot); |
if (status != NO_ERROR) { |
mx_handle_close(vmo); |
FATAL("VirtualMemory::ReserveInternal FAILED"); |
@@ -56,8 +54,8 @@ VirtualMemory::~VirtualMemory() { |
// TODO(zra): Use reserved_size_. |
// Issue MG-162. |
uintptr_t addr = reinterpret_cast<uintptr_t>(address()); |
- mx_status_t status = mx_process_unmap_vm( |
- mx_process_self(), addr, 0 /*reserved_size_*/); |
+ mx_status_t status = |
+ mx_process_unmap_vm(mx_process_self(), addr, 0 /*reserved_size_*/); |
if (status != NO_ERROR) { |
FATAL("VirtualMemory::~VirtualMemory: unamp FAILED"); |
} |