From 6f160d3d78c1b7839b6bc053339e1fdfbf0276de Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Sun, 12 Feb 2012 02:17:18 +0000 Subject: [PATCH] false is totally null! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150324 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/IPO/GlobalOpt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Transforms/IPO/GlobalOpt.cpp b/lib/Transforms/IPO/GlobalOpt.cpp index 60a8b1cbb14..c7f71a6d500 100644 --- a/lib/Transforms/IPO/GlobalOpt.cpp +++ b/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));