commit | 775cbdd51a3b33dd5eb343689f65ab5cc8ac7118 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Apr 08 06:34:31 2004 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Apr 08 06:34:31 2004 +0000 |
tree | d4ac4edefcd38d6a7e233374c3464492c5f1b347 | |
parent | 0c199a7628acd1c887ef3b9149538268d68efc97 [diff] |
Remove the "really gross hacks" that are there to deal with recursive functions. Now we collect all of the call sites we are interested in inlining, then inline them. This entirely avoids issues with trying to inline a call site we got by inlining another call site. This also eliminates iterator invalidation issues. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12770 91177308-0d34-0410-b5e6-96231b3b80d8