Commit 4377f9ba authored by Michael Beck's avatar Michael Beck
Browse files

fixed warnings

[r19128]
parent 069e718d
...@@ -191,7 +191,7 @@ void inline_leave_functions(int maxsize, int leavesize, int size, int ignore_run ...@@ -191,7 +191,7 @@ void inline_leave_functions(int maxsize, int leavesize, int size, int ignore_run
* *
* @param threshold inlining threshold * @param threshold inlining threshold
*/ */
void inline_functions(unsigned inline_threshold); void inline_functions(int inline_threshold);
/** Code Placement. /** Code Placement.
* *
......
...@@ -85,7 +85,6 @@ static unsigned analyze_arg(ir_node *arg, unsigned bits) { ...@@ -85,7 +85,6 @@ static unsigned analyze_arg(ir_node *arg, unsigned bits) {
/* Hmm: not sure what this is, most likely a read */ /* Hmm: not sure what this is, most likely a read */
bits |= ptr_access_read; bits |= ptr_access_read;
} else { } else {
ir_op *op = get_irn_op(ptr);
ir_entity *meth_ent; ir_entity *meth_ent;
if (is_Global(ptr)) { if (is_Global(ptr)) {
......
...@@ -1692,10 +1692,10 @@ static int calc_inline_benefice(ir_node *call, ir_graph *callee) { ...@@ -1692,10 +1692,10 @@ static int calc_inline_benefice(ir_node *call, ir_graph *callee) {
} }
/** /**
* Heuristic inliner. Calculates a benifiz value for every call and inlines * Heuristic inliner. Calculates a benifice value for every call and inlines
* those calls with a value higher than the threshold. * 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; inline_irg_env *env;
ir_graph *irg; ir_graph *irg;
int i, n_irgs; int i, n_irgs;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment