summaryrefslogtreecommitdiffstats
path: root/runtime/mem_map.h
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2013-08-29 09:36:15 -0700
committerBrian Carlstrom <bdc@google.com>2013-08-29 09:45:43 -0700
commite0948e13d5a4552e6a2728087573c07961e4a4f9 (patch)
tree6162dd8b5e4f05c00f5414e10d1b1ab6fba61a0d /runtime/mem_map.h
parenta7d56cf5e0fe6da41969f6dd841aef0d73f09d93 (diff)
downloadart-e0948e13d5a4552e6a2728087573c07961e4a4f9.zip
art-e0948e13d5a4552e6a2728087573c07961e4a4f9.tar.gz
art-e0948e13d5a4552e6a2728087573c07961e4a4f9.tar.bz2
Make DexFiles opened from files readonly by default, but writable during dex2oat
Bug: 9618388 Change-Id: I83f2e16ee8446a79a94a84971146d807bb0c9ee0
Diffstat (limited to 'runtime/mem_map.h')
-rw-r--r--runtime/mem_map.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/runtime/mem_map.h b/runtime/mem_map.h
index 7d418a5..e294824 100644
--- a/runtime/mem_map.h
+++ b/runtime/mem_map.h
@@ -61,8 +61,6 @@ class MemMap {
bool Protect(int prot);
- bool ProtectRegion(uint8_t* addr, size_t length, int prot);
-
int GetProtect() const {
return prot_;
}