diff options
author | Eric Anholt <[email protected]> | 2010-04-08 13:42:48 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-04-08 13:43:56 -0700 |
commit | 2a7b2b22f47661029a1e8eea3d3765bd782412b3 (patch) | |
tree | d7cbe2023b0a6ba7c07b87ad219ac304b7746549 /ir_function_inlining.cpp | |
parent | 6192434ac3bf621d600515589552100c8f5b8418 (diff) |
Repeat the optimization passes until we stop making progress.
Diffstat (limited to 'ir_function_inlining.cpp')
-rw-r--r-- | ir_function_inlining.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ir_function_inlining.cpp b/ir_function_inlining.cpp index 40f82513095..e03673e632d 100644 --- a/ir_function_inlining.cpp +++ b/ir_function_inlining.cpp @@ -307,7 +307,7 @@ can_inline(ir_call *call) bool do_function_inlining(exec_list *instructions) { - bool progress; + bool progress = false; foreach_iter(exec_list_iterator, iter, *instructions) { ir_instruction *ir = (ir_instruction *)iter.get(); |