diff options
| author | Nick Lewycky <nicholas@mxc.ca> | 2010-08-31 08:29:37 +0000 |
|---|---|---|
| committer | Nick Lewycky <nicholas@mxc.ca> | 2010-08-31 08:29:37 +0000 |
| commit | 5a2e4d83b41d4519f33486dfaec106bf94667c73 (patch) | |
| tree | 9d0953592dd90eab6a402547be114f0626772ca4 /include/llvm/CodeGen/Passes.h | |
| parent | 8eb36cc572ff8114672b0f2c07e1b7141355780e (diff) | |
| download | external_llvm-5a2e4d83b41d4519f33486dfaec106bf94667c73.zip external_llvm-5a2e4d83b41d4519f33486dfaec106bf94667c73.tar.gz external_llvm-5a2e4d83b41d4519f33486dfaec106bf94667c73.tar.bz2 | |
Fix an infinite loop; merging two functions will create a new function (if the
two are weak, we make them thunks to a new strong function) so don't iterate
through the function list as we're modifying it.
Also add back the outermost loop which got removed during the cleanups.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112595 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/Passes.h')
0 files changed, 0 insertions, 0 deletions
