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

Unified Diff: runtime/vm/virtual_memory.h

Issue 1584443002: VM: Precompiled rodata snapshot. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: added read-only page type Created 4 years, 10 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
Index: runtime/vm/virtual_memory.h
diff --git a/runtime/vm/virtual_memory.h b/runtime/vm/virtual_memory.h
index 53ba57df510288a2e0dc4bcc75ae73cd4eac9137..270d3cf8f763c4b268f09a2a714e142ee4943532 100644
--- a/runtime/vm/virtual_memory.h
+++ b/runtime/vm/virtual_memory.h
@@ -71,7 +71,7 @@ class VirtualMemory {
bool embedder_allocated() const { return embedder_allocated_; }
- static VirtualMemory* ForInstructionsSnapshot(void* pointer, uword size);
+ static VirtualMemory* ForExternalPage(void* pointer, uword size);
private:
static VirtualMemory* ReserveInternal(intptr_t size);

Powered by Google App Engine
This is Rietveld 408576698