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
c2990ce8
Commit
c2990ce8
authored
May 24, 2013
by
Christoph Mallon
Browse files
Assert that the exec freq in set_block_execfreq() is non-negative.
parent
5cdf5650
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ana/execfreq.c
View file @
c2990ce8
...
...
@@ -69,6 +69,7 @@ double get_block_execfreq(const ir_node *block)
void
set_block_execfreq
(
ir_node
*
block
,
double
newfreq
)
{
assert
(
newfreq
>=
0
);
block
->
attr
.
block
.
execfreq
=
newfreq
;
}
...
...
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