false is totally null!

llvm-svn: 150324
This commit is contained in:
Nick Lewycky 2012-02-12 02:17:18 +00:00
parent 4b273cb7ea
commit f285256f72
1 changed files with 1 additions and 1 deletions

View File

@ -2734,7 +2734,7 @@ bool GlobalOpt::OptimizeGlobalAliases(Module &M) {
static Function *FindCXAAtExit(Module &M, TargetLibraryInfo *TLI) {
if (!TLI->has(LibFunc::cxa_atexit))
return false;
return 0;
Function *Fn = M.getFunction(TLI->getName(LibFunc::cxa_atexit));