summaryrefslogtreecommitdiffstats
path: root/vm/compiler/codegen/x86
diff options
context:
space:
mode:
authorRaghu Gandham <raghu@mips.com>2012-05-02 14:27:16 -0700
committerRaghu Gandham <raghu@mips.com>2012-05-02 14:27:16 -0700
commita8b91c52fd8a90b784835dfe1f8898035266c4dd (patch)
tree8a9bb58ee3b78c10cf88a3bac21b7f96d75cd1f7 /vm/compiler/codegen/x86
parenta14639df65cc0aefafcddda5aae8b591204e45f9 (diff)
downloadandroid_dalvik-a8b91c52fd8a90b784835dfe1f8898035266c4dd.tar.gz
android_dalvik-a8b91c52fd8a90b784835dfe1f8898035266c4dd.tar.bz2
android_dalvik-a8b91c52fd8a90b784835dfe1f8898035266c4dd.zip
[MIPS] Dalvik fast interpreter support and JIT implementation
Change-Id: I9bb4f6875b7061d3ffaee73f204026cb8ba3ed39 Signed-off-by: Raghu Gandham <raghu@mips.com> Signed-off-by: Chris Dearman <chris@mips.com> Signed-off-by: Douglas Leung <douglas@mips.com> Signed-off-by: Don Padgett <don@mips.com>
Diffstat (limited to 'vm/compiler/codegen/x86')
-rw-r--r--vm/compiler/codegen/x86/ArchUtility.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/vm/compiler/codegen/x86/ArchUtility.cpp b/vm/compiler/codegen/x86/ArchUtility.cpp
index f7c48d628..e7b7d7004 100644
--- a/vm/compiler/codegen/x86/ArchUtility.cpp
+++ b/vm/compiler/codegen/x86/ArchUtility.cpp
@@ -28,3 +28,10 @@ int dvmCompilerCacheFlush(long start, long end, long flags)
{
return 0;
}
+
+/* Target-specific cache clearing */
+void dvmCompilerCacheClear(char *start, size_t size)
+{
+ /* 0 is an invalid opcode for x86. */
+ memset(start, 0, size);
+}