diff options
author | Andrew Haley <aph@redhat.com> | 2009-08-12 16:10:12 +0000 |
---|---|---|
committer | Andrew Haley <aph@gcc.gnu.org> | 2009-08-12 16:10:12 +0000 |
commit | 4b462d7786135d389f58ccda0a9dddf9ed4cee73 (patch) | |
tree | 2b29a3b4b734755142382ee704c64493d0a28268 /gcc/java/java-tree.h | |
parent | 97804369a99a4e9ab5609b158ce5b0becff36880 (diff) | |
download | gcc-4b462d7786135d389f58ccda0a9dddf9ed4cee73.zip gcc-4b462d7786135d389f58ccda0a9dddf9ed4cee73.tar.gz gcc-4b462d7786135d389f58ccda0a9dddf9ed4cee73.tar.bz2 |
builtins.c (compareAndSwapInt_builtin): Use flag_use_atomic_builtins.
2009-08-12 Andrew Haley <aph@redhat.com>
* builtins.c (compareAndSwapInt_builtin): Use
flag_use_atomic_builtins.
(compareAndSwapLong_builtin): Likewise.
(compareAndSwapObject_builtin): Likewise.
* jvspec.c: Add flag_use_atomic_builtins.
* gcj.texi: Likewise.
* java-tree.h: Likewise.
* lang.opt: Likewise.
From-SVN: r150699
Diffstat (limited to 'gcc/java/java-tree.h')
-rw-r--r-- | gcc/java/java-tree.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/java/java-tree.h b/gcc/java/java-tree.h index e68b136..3bdd75a 100644 --- a/gcc/java/java-tree.h +++ b/gcc/java/java-tree.h @@ -145,6 +145,9 @@ extern int flag_newer; /* When nonzero, call a library routine to do integer divisions. */ extern int flag_use_divide_subroutine; +/* When nonzero, use atomic builtins. */ +extern int flag_use_atomic_builtins; + /* When nonzero, generate code for the Boehm GC. */ extern int flag_use_boehm_gc; |