Commit 4cb802f4 authored by bryce's avatar bryce
Browse files

* jcf-write.c (get_classfile_modifiers): Formatting fixes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83831 138bc75d-0d04-0410-961f-82ee72b054a4
parent 4fa61ced
2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
* jcf-write.c (get_classfile_modifiers): Formatting fixes.
2004-06-27 Ranjit Mathew <rmathew@hotmail.com>
 
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
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.
See JVMS2 S4.1. */
int valid_toplevel_class_flags = ACC_PUBLIC | ACC_FINAL | ACC_SUPER |
ACC_INTERFACE | ACC_ABSTRACT;
int valid_toplevel_class_flags = (ACC_PUBLIC | ACC_FINAL | ACC_SUPER |
ACC_INTERFACE | ACC_ABSTRACT);
int flags = get_access_flags (class);
/* ACC_SUPER should always be set, except for interfaces. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment