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
8d65bd52
Commit
8d65bd52
authored
Apr 11, 2006
by
Michael Beck
Browse files
directly call stat_be_block_regpressure() and stat_be_block_sched_ready()
parent
699ae70a
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/bestat.c
View file @
8d65bd52
...
...
@@ -9,7 +9,7 @@
#include "irgwalk.h"
#include "irhooks.h"
#include "dbginfo_t.h"
#include "firmstat.h"
#include "firmstat
_t
.h"
#include "ident.h"
#include "bestat.h"
...
...
@@ -45,7 +45,7 @@ static void stat_reg_pressure_block(ir_node *block, void *env) {
max_live
=
cnt
<
max_live
?
max_live
:
cnt
;
}
hook
_be_block_regpressure
(
block
,
birg
->
irg
,
max_live
,
new_id_from_str
(
cls
->
name
));
stat
_be_block_regpressure
(
birg
->
irg
,
block
,
max_live
,
new_id_from_str
(
cls
->
name
));
}
}
...
...
@@ -58,7 +58,7 @@ void be_do_stat_reg_pressure(be_irg_t *birg) {
* Notify statistic module about amount of ready nodes.
*/
void
be_do_stat_sched_ready
(
ir_node
*
block
,
nodeset
*
ready_set
)
{
hook
_be_block_sched_ready
(
block
,
get_irn_irg
(
block
),
MIN
(
nodeset_count
(
ready_set
)
,
5
)
);
stat
_be_block_sched_ready
(
get_irn_irg
(
block
),
block
,
nodeset_count
(
ready_set
));
}
#else
...
...
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