summaryrefslogtreecommitdiffstats
path: root/vm/compiler/Utility.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-02-12 14:20:58 -0800
committerElliott Hughes <enh@google.com>2014-02-12 14:20:58 -0800
commita0d97af039ae8dbbc5997da23d73ced3ff25a101 (patch)
tree961ef75648cd5c5679c2300ffe645c712ba4b6c4 /vm/compiler/Utility.cpp
parent73e52b41113996ee997a2debc902de5591071af9 (diff)
downloadandroid_dalvik-a0d97af039ae8dbbc5997da23d73ced3ff25a101.tar.gz
android_dalvik-a0d97af039ae8dbbc5997da23d73ced3ff25a101.tar.bz2
android_dalvik-a0d97af039ae8dbbc5997da23d73ced3ff25a101.zip
Move dalvik off cacheflush so we can deprecate it.
Bug: 12965705 Change-Id: I805428e3103ff578d048ecbbc6ae30c0ead19ef9
Diffstat (limited to 'vm/compiler/Utility.cpp')
-rw-r--r--vm/compiler/Utility.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/vm/compiler/Utility.cpp b/vm/compiler/Utility.cpp
index 2fe94d2e8..eaa562b41 100644
--- a/vm/compiler/Utility.cpp
+++ b/vm/compiler/Utility.cpp
@@ -407,3 +407,7 @@ void dvmGetBlockName(BasicBlock *bb, char *name)
break;
}
}
+
+void dvmCompilerCacheFlush(uintptr_t start, uintptr_t end) {
+ __builtin___clear_cache(reinterpret_cast<void*>(start), reinterpret_cast<void*>(end));
+}