Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
169187fe
Commit
169187fe
authored
May 17, 2013
by
yb9976
Browse files
Delete strange switch cases.
We should never see an Id node and Call nodes should never have mode_X.
parent
8ca4adce
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ana/dca.c
View file @
169187fe
...
...
@@ -78,11 +78,6 @@ static void dca_transfer(ir_node *irn, pdeq *q)
care_for
(
get_Return_res
(
irn
,
i
),
care
,
q
);
care_for
(
get_Return_mem
(
irn
),
care
,
q
);
return
;
case
iro_Call
:
for
(
int
i
=
0
;
i
<
get_Call_n_params
(
irn
);
i
++
)
care_for
(
get_Call_param
(
irn
,
i
),
care
,
q
);
care_for
(
get_Call_mem
(
irn
),
care
,
q
);
return
;
case
iro_Jmp
:
default:
for
(
int
i
=
0
;
i
<
get_irn_arity
(
irn
);
i
++
)
...
...
@@ -171,7 +166,6 @@ static void dca_transfer(ir_node *irn, pdeq *q)
}
case
iro_Eor
:
case
iro_Confirm
:
case
iro_Id
:
care_for
(
get_irn_n
(
irn
,
0
),
care
,
q
);
care_for
(
get_irn_n
(
irn
,
1
),
care
,
q
);
return
;
...
...
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