* jcf-write.c (get_classfile_modifiers): Formatting fixes.
From-SVN: r83831
This commit is contained in:
parent
5ad6fca5c3
commit
a0cc19cb18
@ -1,3 +1,7 @@
|
|||||||
|
2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
|
||||||
|
|
||||||
|
* jcf-write.c (get_classfile_modifiers): Formatting fixes.
|
||||||
|
|
||||||
2004-06-27 Ranjit Mathew <rmathew@hotmail.com>
|
2004-06-27 Ranjit Mathew <rmathew@hotmail.com>
|
||||||
|
|
||||||
Formatting fixes.
|
Formatting fixes.
|
||||||
|
@ -2890,12 +2890,13 @@ release_jcf_state (struct jcf_partial *state)
|
|||||||
/* Get the access flags (modifiers) of a class (TYPE_DECL) to be used in the
|
/* Get the access flags (modifiers) of a class (TYPE_DECL) to be used in the
|
||||||
access_flags field of the class file header. */
|
access_flags field of the class file header. */
|
||||||
|
|
||||||
static int get_classfile_modifiers (tree class)
|
static int
|
||||||
|
get_classfile_modifiers (tree class)
|
||||||
{
|
{
|
||||||
/* These are the flags which are valid class file modifiers.
|
/* These are the flags which are valid class file modifiers.
|
||||||
See JVMS2 S4.1. */
|
See JVMS2 S4.1. */
|
||||||
int valid_toplevel_class_flags = ACC_PUBLIC | ACC_FINAL | ACC_SUPER |
|
int valid_toplevel_class_flags = (ACC_PUBLIC | ACC_FINAL | ACC_SUPER |
|
||||||
ACC_INTERFACE | ACC_ABSTRACT;
|
ACC_INTERFACE | ACC_ABSTRACT);
|
||||||
int flags = get_access_flags (class);
|
int flags = get_access_flags (class);
|
||||||
|
|
||||||
/* ACC_SUPER should always be set, except for interfaces. */
|
/* ACC_SUPER should always be set, except for interfaces. */
|
||||||
|
Loading…
Reference in New Issue
Block a user