OSDN Git Service

Dalvik fast interpreter support and JIT implementation
[android-x86/dalvik.git] / vm / compiler / codegen / x86 / ArchUtility.cpp
index f7c48d6..e7b7d70 100644 (file)
@@ -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);
+}