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
c988644d
Commit
c988644d
authored
Sep 10, 2008
by
Michael Beck
Browse files
use panic instead of assert(0 & "...")
[r21803]
parent
35845e64
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/beblocksched.c
View file @
c988644d
...
...
@@ -58,6 +58,7 @@
#include
"beirgmod.h"
#include
"bemodule.h"
#include
"be.h"
#include
"error.h"
#include
"lc_opts.h"
#include
"lc_opts_enum.h"
...
...
@@ -114,7 +115,7 @@ typedef struct _edge_t {
int
pos
;
/**< number of cfg predecessor (target) */
double
execfreq
;
/**< the frequency */
int
highest_execfreq
;
/**< flag that indicates whether this edge is the edge with the highest
execfreq pointing away from this block */
execfreq pointing away from this block */
}
edge_t
;
typedef
struct
_blocksched_env_t
{
...
...
@@ -764,6 +765,6 @@ ir_node **be_create_block_schedule(ir_graph *irg, ir_exec_freq *execfreqs)
#endif
/* WITH_ILP */
}
assert
(
0
&&
"unknown blocksched algo"
);
panic
(
"unknown blocksched algo"
);
return
NULL
;
}
Write
Preview
Supports
Markdown
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