Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(236)

Unified Diff: runtime/vm/virtual_memory.cc

Issue 2974233002: VM: Re-format to use at most one newline between functions (Closed)
Patch Set: Rebase and merge Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/version_in.cc ('k') | runtime/vm/virtual_memory_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/virtual_memory.cc
diff --git a/runtime/vm/virtual_memory.cc b/runtime/vm/virtual_memory.cc
index 38bb4b3fd37b118208914a2ba21586b30df01ef0..facf4420944a765992af0d5ad7d1de00e33a9fda 100644
--- a/runtime/vm/virtual_memory.cc
+++ b/runtime/vm/virtual_memory.cc
@@ -14,7 +14,6 @@ bool VirtualMemory::InSamePage(uword address0, uword address1) {
Utils::RoundDown(address1, PageSize()));
}
-
void VirtualMemory::Truncate(intptr_t new_size, bool try_unmap) {
ASSERT((new_size & (PageSize() - 1)) == 0);
ASSERT(new_size <= size());
@@ -27,7 +26,6 @@ void VirtualMemory::Truncate(intptr_t new_size, bool try_unmap) {
region_.Subregion(region_, 0, new_size);
}
-
VirtualMemory* VirtualMemory::ForImagePage(void* pointer, uword size) {
// Memory for precompilated instructions was allocated by the embedder, so
// create a VirtualMemory without allocating.
« no previous file with comments | « runtime/vm/version_in.cc ('k') | runtime/vm/virtual_memory_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698