summaryrefslogtreecommitdiffstats
path: root/vm/compiler/codegen/CompilerCodegen.h
diff options
context:
space:
mode:
authorbuzbee <buzbee@google.com>2010-07-20 14:53:42 -0700
committerbuzbee <buzbee@google.com>2010-07-21 14:50:25 -0700
commitecf8f6ede2c00350a36297dd7427afff9d9cb154 (patch)
tree6f78c5a9225efd114ba231a9a7bc9ced22265ace /vm/compiler/codegen/CompilerCodegen.h
parente3bed18a09bc810752f50784033b9b201c0d8399 (diff)
downloadandroid_dalvik-ecf8f6ede2c00350a36297dd7427afff9d9cb154.tar.gz
android_dalvik-ecf8f6ede2c00350a36297dd7427afff9d9cb154.tar.bz2
android_dalvik-ecf8f6ede2c00350a36297dd7427afff9d9cb154.zip
JIT: Support for Dalvik volatiles (issue 2781881)
Also, on SMP systems generate memory barriers. Change-Id: If64f7c98a8de426930b8f36ac77913e53b7b2d7a
Diffstat (limited to 'vm/compiler/codegen/CompilerCodegen.h')
-rw-r--r--vm/compiler/codegen/CompilerCodegen.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vm/compiler/codegen/CompilerCodegen.h b/vm/compiler/codegen/CompilerCodegen.h
index 06fd41090..7379d502e 100644
--- a/vm/compiler/codegen/CompilerCodegen.h
+++ b/vm/compiler/codegen/CompilerCodegen.h
@@ -61,4 +61,7 @@ bool dvmCompilerArchVariantInit(void);
/* Implemented in codegen/<target>/<target_variant>/ArchVariant.c */
int dvmCompilerTargetOptHint(int key);
+/* Implemented in codegen/<target>/<target_variant>/ArchVariant.c */
+void dvmCompilerGenMemBarrier(CompilationUnit *cUnit);
+
#endif /* _DALVIK_VM_COMPILERCODEGEN_H_ */