diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2012-02-12 02:17:18 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2012-02-12 02:17:18 +0000 |
commit | f285256f72a50440c8cab3537581f4d5e9ae260a (patch) | |
tree | f9ca50fae589ea81287a9eb9be53659e968845e4 /llvm/lib/Transforms | |
parent | 4b273cb7eaddad44e49b0bfa2bbf99727c170790 (diff) | |
download | bcm5719-llvm-f285256f72a50440c8cab3537581f4d5e9ae260a.tar.gz bcm5719-llvm-f285256f72a50440c8cab3537581f4d5e9ae260a.zip |
false is totally null!
llvm-svn: 150324
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r-- | llvm/lib/Transforms/IPO/GlobalOpt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/GlobalOpt.cpp b/llvm/lib/Transforms/IPO/GlobalOpt.cpp index 60a8b1cbb14..c7f71a6d500 100644 --- a/llvm/lib/Transforms/IPO/GlobalOpt.cpp +++ b/llvm/lib/Transforms/IPO/GlobalOpt.cpp @@ -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)); |