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
0a3af4d8
Commit
0a3af4d8
authored
Feb 19, 1999
by
Per Bothner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use new TRY_FINALLY_EXPR tree node.
( Use new TRY_FINALLY_EXPR tree node. See ChangeLog. From-SVN: r25312
parent
ececaeae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
gcc/java/check-init.c
+10
-6
No files found.
gcc/java/check-init.c
View file @
0a3af4d8
...
@@ -543,7 +543,6 @@ check_init (exp, before)
...
@@ -543,7 +543,6 @@ check_init (exp, before)
{
{
tree
try_clause
=
TREE_OPERAND
(
exp
,
0
);
tree
try_clause
=
TREE_OPERAND
(
exp
,
0
);
tree
clause
=
TREE_OPERAND
(
exp
,
1
);
tree
clause
=
TREE_OPERAND
(
exp
,
1
);
tree
finally
=
TREE_OPERAND
(
exp
,
2
);
words
save
=
ALLOC_WORDS
(
num_current_words
);
words
save
=
ALLOC_WORDS
(
num_current_words
);
words
tmp
=
ALLOC_WORDS
(
num_current_words
);
words
tmp
=
ALLOC_WORDS
(
num_current_words
);
struct
alternatives
alt
;
struct
alternatives
alt
;
...
@@ -559,17 +558,22 @@ check_init (exp, before)
...
@@ -559,17 +558,22 @@ check_init (exp, before)
check_init
(
catch_clause
,
tmp
);
check_init
(
catch_clause
,
tmp
);
done_alternative
(
tmp
,
&
alt
);
done_alternative
(
tmp
,
&
alt
);
}
}
if
(
finally
!=
NULL_TREE
)
{
check_init
(
finally
,
save
);
UNION
(
alt
.
combined
,
alt
.
combined
,
save
);
}
FREE_WORDS
(
tmp
);
FREE_WORDS
(
tmp
);
FREE_WORDS
(
save
);
FREE_WORDS
(
save
);
END_ALTERNATIVES
(
before
,
alt
);
END_ALTERNATIVES
(
before
,
alt
);
}
}
return
;
return
;
case
TRY_FINALLY_EXPR
:
{
words
tmp
=
ALLOC_WORDS
(
num_current_words
);
COPY
(
tmp
,
before
);
check_init
(
TREE_OPERAND
(
exp
,
0
),
tmp
);
check_init
(
TREE_OPERAND
(
exp
,
1
),
before
);
FREE_WORDS
(
tmp
);
}
return
;
case
RETURN_EXPR
:
case
RETURN_EXPR
:
case
THROW_EXPR
:
case
THROW_EXPR
:
if
(
TREE_OPERAND
(
exp
,
0
))
if
(
TREE_OPERAND
(
exp
,
0
))
...
...
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