Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
a0cc19cb
Commit
a0cc19cb
authored
Jun 28, 2004
by
Bryce McKinlay
Committed by
Bryce McKinlay
Jun 29, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* jcf-write.c (get_classfile_modifiers): Formatting fixes.
From-SVN: r83831
parent
5ad6fca5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
gcc/java/ChangeLog
+4
-0
gcc/java/jcf-write.c
+4
-3
No files found.
gcc/java/ChangeLog
View file @
a0cc19cb
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
.
...
...
gcc/java/jcf-write.c
View file @
a0cc19cb
...
...
@@ -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. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment