diff options
author | Chris Lattner <sabre@nondot.org> | 2003-04-24 22:54:06 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-04-24 22:54:06 +0000 |
commit | f607b79bc78fcbfd8cda01d2d5dbda6cd8253a40 (patch) | |
tree | 46dcb9b6a91acfe282b4bb3eb45454d0c5b5e7ec /lib/Transforms/Utils/PromoteMemoryToRegister.cpp | |
parent | 44be25716628941b4cccccf56a28ee0ba2606850 (diff) |
The big fix is this change:
- if (I->isExternal() && !Functions.count(I))
+ if (!I->isExternal() && !Functions.count(I))
We were not actually deleting any functions from the module!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5914 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/PromoteMemoryToRegister.cpp')
0 files changed, 0 insertions, 0 deletions