Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
2a8124bb
Commit
2a8124bb
authored
Sep 20, 2008
by
yb9976
Browse files
Added assertion to assure that we don't run into an endless loop.
[r22137]
parent
cf204fd9
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/lower/lower_switch.c
View file @
2a8124bb
...
...
@@ -107,6 +107,8 @@ static int casecmp(const void *a, const void *b)
static
void
create_if_cascade
(
ifcas_env_t
*
env
,
ir_node
*
curblock
,
case_data_t
*
curcases
,
int
numcases
)
{
assert
(
numcases
>
0
);
set_cur_block
(
curblock
);
if
(
numcases
==
1
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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