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
2bbc9ee1
Commit
2bbc9ee1
authored
Feb 06, 2003
by
Tom Tromey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reverted erroneously applied patch
From-SVN: r62493
parent
5dc91152
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
29 deletions
+4
-29
gcc/java/except.c
+4
-29
No files found.
gcc/java/except.c
View file @
2bbc9ee1
...
...
@@ -324,35 +324,10 @@ prepare_eh_table_type (tree type)
else
if
(
is_compiled_class
(
type
))
exp
=
build_class_ref
(
type
);
else
{
tree
ctype
=
make_node
(
RECORD_TYPE
);
tree
field
=
NULL_TREE
;
tree
cinit
,
decl
;
tree
utf8_ref
=
build_utf8_ref
(
DECL_NAME
(
TYPE_NAME
(
type
)));
char
buf
[
64
];
sprintf
(
buf
,
"%s_ref"
,
IDENTIFIER_POINTER
(
DECL_NAME
(
TREE_OPERAND
(
utf8_ref
,
0
))));
PUSH_FIELD
(
ctype
,
field
,
"dummy"
,
ptr_type_node
);
PUSH_FIELD
(
ctype
,
field
,
"utf8"
,
utf8const_ptr_type
);
FINISH_RECORD
(
ctype
);
START_RECORD_CONSTRUCTOR
(
cinit
,
ctype
);
PUSH_FIELD_VALUE
(
cinit
,
"dummy"
,
integer_minus_one_node
);
PUSH_FIELD_VALUE
(
cinit
,
"utf8"
,
utf8_ref
);
FINISH_RECORD_CONSTRUCTOR
(
cinit
);
TREE_CONSTANT
(
cinit
)
=
1
;
decl
=
build_decl
(
VAR_DECL
,
get_identifier
(
buf
),
utf8const_type
);
TREE_STATIC
(
decl
)
=
1
;
DECL_ARTIFICIAL
(
decl
)
=
1
;
DECL_IGNORED_P
(
decl
)
=
1
;
TREE_READONLY
(
decl
)
=
1
;
TREE_THIS_VOLATILE
(
decl
)
=
0
;
DECL_INITIAL
(
decl
)
=
cinit
;
layout_decl
(
decl
,
0
);
pushdecl
(
decl
);
rest_of_decl_compilation
(
decl
,
(
char
*
)
0
,
global_bindings_p
(),
0
);
make_decl_rtl
(
decl
,
(
char
*
)
0
);
exp
=
build1
(
ADDR_EXPR
,
utf8const_ptr_type
,
decl
);
}
exp
=
fold
(
build
(
PLUS_EXPR
,
ptr_type_node
,
build_utf8_ref
(
DECL_NAME
(
TYPE_NAME
(
type
))),
size_one_node
));
return
exp
;
}
...
...
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