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
4377f9ba
Commit
4377f9ba
authored
Apr 04, 2008
by
Michael Beck
Browse files
fixed warnings
[r19128]
parent
069e718d
Changes
3
Show whitespace changes
Inline
Side-by-side
include/libfirm/irgopt.h
View file @
4377f9ba
...
...
@@ -191,7 +191,7 @@ void inline_leave_functions(int maxsize, int leavesize, int size, int ignore_run
*
* @param threshold inlining threshold
*/
void
inline_functions
(
unsigned
inline_threshold
);
void
inline_functions
(
int
inline_threshold
);
/** Code Placement.
*
...
...
ir/ana/analyze_irg_args.c
View file @
4377f9ba
...
...
@@ -85,7 +85,6 @@ static unsigned analyze_arg(ir_node *arg, unsigned bits) {
/* Hmm: not sure what this is, most likely a read */
bits
|=
ptr_access_read
;
}
else
{
ir_op
*
op
=
get_irn_op
(
ptr
);
ir_entity
*
meth_ent
;
if
(
is_Global
(
ptr
))
{
...
...
ir/opt/opt_inline.c
View file @
4377f9ba
...
...
@@ -1692,10 +1692,10 @@ static int calc_inline_benefice(ir_node *call, ir_graph *callee) {
}
/**
* Heuristic inliner. Calculates a benifi
z
value for every call and inlines
* Heuristic inliner. Calculates a benifi
ce
value for every call and inlines
* those calls with a value higher than the threshold.
*/
void
inline_functions
(
unsigned
inline_threshold
)
{
void
inline_functions
(
int
inline_threshold
)
{
inline_irg_env
*
env
;
ir_graph
*
irg
;
int
i
,
n_irgs
;
...
...
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