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
61a89891
Commit
61a89891
authored
Jan 31, 2007
by
Kazu Hirata
Committed by
Kazu Hirata
Jan 31, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* class.c, jcf-parse.c: Fix comment typos.
From-SVN: r121372
parent
5e203bf8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
6 deletions
+10
-6
gcc/java/ChangeLog
+4
-0
gcc/java/class.c
+1
-1
gcc/java/jcf-parse.c
+5
-5
No files found.
gcc/java/ChangeLog
View file @
61a89891
2007
-
01
-
31
Kazu
Hirata
<
kazu
@
codesourcery
.
com
>
*
class
.
c
,
jcf
-
parse
.
c
:
Fix
comment
typos
.
2007
-
01
-
30
Tom
Tromey
<
tromey
@
redhat
.
com
>
*
gcj
.
texi
(
Strings
):
Fix
documentation
for
JvNewString
.
...
...
gcc/java/class.c
View file @
61a89891
...
...
@@ -1671,7 +1671,7 @@ make_class_data (tree type)
/* gcj sorts fields so that static fields come first, followed by
instance fields. Unfortunately, by the time this takes place we
have already generated the reflection_data for this class, and
that data cont
ia
ns indexes into the fields. So, we generate a
that data cont
ai
ns indexes into the fields. So, we generate a
permutation that maps each original field index to its final
position. Then we pass this permutation to
rewrite_reflection_indexes(), which fixes up the reflection
...
...
gcc/java/jcf-parse.c
View file @
61a89891
...
...
@@ -91,7 +91,7 @@ static location_t file_start_location;
/* The Java archive that provides main_class; the main input file. */
static
GTY
(())
struct
JCF
*
main_jcf
;
/* The number of source files passd to us by -fsource-filename and an
/* The number of source files pass
e
d to us by -fsource-filename and an
array of pointers to each name. Used by find_sourcefile(). */
static
int
num_files
=
0
;
static
char
**
filenames
;
...
...
@@ -381,15 +381,15 @@ set_source_filename (JCF *jcf, int index)
/* Annotation handling.
The technique we use here is to copy the annotation data directly
from the input class file into the ouput file. We don't decode the
from the input class file into the ou
t
put file. We don't decode the
data at all, merely rewriting constant indexes whenever we come
across them: this is necessary beca
su
e the constant pool in the
across them: this is necessary beca
us
e the constant pool in the
output file isn't the same as the constant pool in in the input.
The main advantage of this technique is that the resulting
annotation data is pointer-free, so it doesn't have to be relocated
at startup time. As a consequence of this, annotations have no
peformance impact unless they are used. Also, this representation
pe
r
formance impact unless they are used. Also, this representation
is very dense. */
...
...
@@ -723,7 +723,7 @@ handle_annotation (JCF *jcf, int level)
}
/* Read an annotation count from JCF, and write the following
annotatons to the reflection_data field of the outgoing class. */
annotat
i
ons to the reflection_data field of the outgoing class. */
static
void
handle_annotations
(
JCF
*
jcf
,
int
level
)
...
...
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