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
44fadf1e
Commit
44fadf1e
authored
Jul 13, 2000
by
Tom Tromey
Committed by
Tom Tromey
Jul 13, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lang-specs.h: Added %{I*}.
From-SVN: r35018
parent
c67846f2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
3 deletions
+27
-3
gcc/java/ChangeLog
+4
-0
gcc/java/jcf-write.c
+22
-2
gcc/java/lang-specs.h
+1
-1
No files found.
gcc/java/ChangeLog
View file @
44fadf1e
2000-07-13 Tom Tromey <tromey@cygnus.com>
* lang-specs.h: Added %{I*}.
2000-07-13 Zack Weinberg <zack@wolery.cumb.org>
* lang-specs.h: Use the new named specs. Remove unnecessary braces.
...
...
gcc/java/jcf-write.c
View file @
44fadf1e
...
...
@@ -290,6 +290,7 @@ static struct jcf_block * get_jcf_label_here PARAMS ((struct jcf_partial *));
static
void
put_linenumber
PARAMS
((
int
,
struct
jcf_partial
*
));
static
void
localvar_alloc
PARAMS
((
tree
,
struct
jcf_partial
*
));
static
void
localvar_free
PARAMS
((
tree
,
struct
jcf_partial
*
));
static
void
localvar_finish
PARAMS
((
tree
,
struct
jcf_partial
*
));
static
int
get_access_flags
PARAMS
((
tree
));
static
void
write_chunks
PARAMS
((
FILE
*
,
struct
chunk
*
));
static
int
adjust_typed_op
PARAMS
((
tree
,
int
));
...
...
@@ -644,6 +645,25 @@ localvar_free (decl, state)
}
}
/* Like localvar_free, but leaves the variable allocated. This lets
us avoid problems with inappropriate variable reuse in some
situations. */
static
void
localvar_finish
(
decl
,
state
)
tree
decl
;
struct
jcf_partial
*
state
;
{
struct
jcf_block
*
end_label
=
get_jcf_label_here
(
state
);
int
index
=
DECL_LOCAL_INDEX
(
decl
);
register
struct
localvar_info
**
ptr
=
&
localvar_buffer
[
index
];
register
struct
localvar_info
*
info
=
*
ptr
;
info
->
end_label
=
end_label
;
if
(
info
->
decl
!=
decl
)
abort
();
}
#define STACK_TARGET 1
#define IGNORE_TARGET 2
...
...
@@ -2379,7 +2399,7 @@ generate_bytecode_insns (exp, target, state)
RESERVE
(
1
);
OP1
(
OPCODE_athrow
);
NOTE_POP
(
1
);
localvar_f
ree
(
exception_decl
,
state
);
localvar_f
inish
(
exception_decl
,
state
);
/* The finally block. First save return PC into return_link. */
define_jcf_label
(
finally_label
,
state
);
...
...
@@ -2388,7 +2408,7 @@ generate_bytecode_insns (exp, target, state)
generate_bytecode_insns
(
finally
,
IGNORE_TARGET
,
state
);
maybe_wide
(
OPCODE_ret
,
DECL_LOCAL_INDEX
(
return_link
),
state
);
localvar_f
ree
(
return_link
,
state
);
localvar_f
inish
(
return_link
,
state
);
define_jcf_label
(
finished_label
,
state
);
}
break
;
...
...
gcc/java/lang-specs.h
View file @
44fadf1e
...
...
@@ -31,6 +31,6 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
{
".jar"
,
"@java"
},
{
"@java"
,
"%{fjni:%{femit-class-file:%e-fjni and -femit-class-file are incompatible}}\
%{!E:jc1 %i %(cc1_options) %{+e*} %{MD} %{MMD} %{M} %{MM}\
%{!E:jc1 %i %(cc1_options) %{+e*} %{
I*} %{
MD} %{MMD} %{M} %{MM}\
%{!S:-o %{|!pipe:%g.s} |
\n
\
as %(asm_options) %{!pipe:%g.s} %A }}"
},
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