Index: runtime/vm/code_patcher.cc |
=================================================================== |
--- runtime/vm/code_patcher.cc (revision 36483) |
+++ runtime/vm/code_patcher.cc (working copy) |
@@ -17,10 +17,9 @@ |
intptr_t size) |
: address_(address), size_(size) { |
if (FLAG_write_protect_code) { |
- bool status = |
- VirtualMemory::Protect(reinterpret_cast<void*>(address), |
- size, |
- VirtualMemory::kReadWrite); |
+ bool status = VirtualMemory::Protect(reinterpret_cast<void*>(address), |
+ size, |
+ VirtualMemory::kReadWrite); |
ASSERT(status); |
} |
} |
@@ -28,10 +27,9 @@ |
WritableInstructionsScope::~WritableInstructionsScope() { |
if (FLAG_write_protect_code) { |
- bool status = |
- VirtualMemory::Protect(reinterpret_cast<void*>(address_), |
- size_, |
- VirtualMemory::kReadExecute); |
+ bool status = VirtualMemory::Protect(reinterpret_cast<void*>(address_), |
+ size_, |
+ VirtualMemory::kReadExecute); |
ASSERT(status); |
} |
} |