diff options
author | aph <aph@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-08-12 16:10:12 +0000 |
---|---|---|
committer | aph <aph@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-08-12 16:10:12 +0000 |
commit | 321856ae54afc12d5aef1a56c195e51dfdd160e5 (patch) | |
tree | 2b29a3b4b734755142382ee704c64493d0a28268 /gcc/java/java-tree.h | |
parent | 6fdadf897bbd1e251b7a7f6f80311a5f167f6d91 (diff) | |
download | gcc-321856ae54afc12d5aef1a56c195e51dfdd160e5.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150699 138bc75d-0d04-0410-961f-82ee72b054a4
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 e68b136db71..3bdd75a2ed8 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; |