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
45a2b4f7
Commit
45a2b4f7
authored
Jan 27, 2002
by
Tom Tromey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reverted accidental checkin
From-SVN: r49272
parent
1d8478d7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
10 deletions
+3
-10
gcc/java/expr.c
+1
-6
gcc/java/parse.y
+2
-4
No files found.
gcc/java/expr.c
View file @
45a2b4f7
...
...
@@ -2168,13 +2168,8 @@ build_jni_stub (method)
TREE_PUBLIC
(
meth_var
)
=
0
;
DECL_EXTERNAL
(
meth_var
)
=
0
;
DECL_CONTEXT
(
meth_var
)
=
method
;
DECL_ARTIFICIAL
(
meth_var
)
=
1
;
DECL_INITIAL
(
meth_var
)
=
null_pointer_node
;
TREE_USED
(
meth_var
)
=
1
;
chainon
(
env_var
,
meth_var
);
layout_decl
(
meth_var
,
0
);
make_decl_rtl
(
meth_var
,
NULL
);
rest_of_decl_compilation
(
meth_var
,
NULL
,
0
,
0
);
meth_var
=
pushdecl_top_level
(
meth_var
);
/* One strange way that the front ends are different is that they
store arguments differently. */
...
...
gcc/java/parse.y
View file @
45a2b4f7
/*
Source
code
parsing
and
tree
node
generation
for
the
GNU
compiler
for
the
Java
(
TM
)
language
.
Copyright
(
C
)
1997
,
1998
,
1999
,
2000
,
2001
,
2002
Free
Software
Foundation
,
Inc
.
Copyright
(
C
)
1997
,
1998
,
1999
,
2000
,
2001
Free
Software
Foundation
,
Inc
.
Contributed
by
Alexandre
Petit
-
Bianco
(
apbianco
@
cygnus
.
com
)
This
file
is
part
of
GNU
CC
.
...
...
@@ -7723,9 +7723,7 @@ java_complete_expand_methods (class_decl)
if
(
METHOD_NATIVE
(
decl
))
{
tree
body
;
current_function_decl
=
decl
;
body
=
build_jni_stub
(
decl
);
tree
body
=
build_jni_stub
(
decl
);
BLOCK_EXPR_BODY
(
DECL_FUNCTION_BODY
(
decl
))
=
body
;
}
...
...
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