Initial ARM JNI compiler support.
Change-Id: I85183eec9a2645e6cb074b4b18bc6af800a77e06
diff --git a/src/assembler.cc b/src/assembler.cc
index 55c6d07..62f11a3 100644
--- a/src/assembler.cc
+++ b/src/assembler.cc
@@ -83,7 +83,8 @@
// Copy the instructions from the buffer.
MemoryRegion from(reinterpret_cast<void*>(contents()), Size());
instructions.CopyFrom(0, from);
-
+ // Flush instruction cache
+ __builtin___clear_cache(instructions.start(), instructions.end());
// Process fixups in the instructions.
ProcessFixups(instructions);
#if defined(DEBUG)