diff options
author | Tom Tromey <tromey@redhat.com> | 2002-02-18 04:55:07 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2002-02-18 04:55:07 +0000 |
commit | 6b6294f11853a51dd444dbc5ed797c593459be52 (patch) | |
tree | 9d4dcd64a3dacde96384e1abe0d301b3d8973403 /gcc/java/jcf.h | |
parent | aeb85a152cd80ead8a39d559f71acbc447e7df4e (diff) | |
download | gcc-6b6294f11853a51dd444dbc5ed797c593459be52.zip gcc-6b6294f11853a51dd444dbc5ed797c593459be52.tar.gz gcc-6b6294f11853a51dd444dbc5ed797c593459be52.tar.bz2 |
java-tree.h (TYPE_STRICTFP): New macro.
* java-tree.h (TYPE_STRICTFP): New macro.
(struct lang_type) [strictfp]: New field.
(CLASS_STRICTFP): New macro.
(METHOD_STRICTFP): New macro.
(struct lang_decl) [strictfp]: New field.
* parse.y (method_header): Disallow strictfp constructor or
abstract method.
(STRICT_TK): Move before MODIFIER_TK.
* parse.h (CLASS_MODIFIERS): Added ACC_STRICT.
(METHOD_MODIFIERS): Likewise.
(INTERFACE_MODIFIERS): Likewise.
* jcf-write.c (get_access_flags): Likewise.
* class.c (set_class_decl_access_flags): Recognize ACC_STRICT.
(add_method_1): Likewise.
(get_access_flags_from_decl): Likewise.
* jcf-dump.c (print_access_flags): Print in standard order. Also,
recognize strictfp flag.
* jcf.h (ACC_STRICT): New define.
From-SVN: r49834
Diffstat (limited to 'gcc/java/jcf.h')
-rw-r--r-- | gcc/java/jcf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/java/jcf.h b/gcc/java/jcf.h index 434dce1..ef7669e 100644 --- a/gcc/java/jcf.h +++ b/gcc/java/jcf.h @@ -1,6 +1,6 @@ /* Utility macros to read Java(TM) .class files and byte codes. - Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -207,6 +207,7 @@ typedef struct JCF { #define ACC_NATIVE 0x0100 #define ACC_INTERFACE 0x0200 #define ACC_ABSTRACT 0x0400 +#define ACC_STRICT 0x0800 #define ACC_VISIBILITY (ACC_PUBLIC | ACC_PRIVATE | ACC_PROTECTED) |