From: Anand Shukla Date: Sat, 12 Oct 2002 20:33:47 +0000 (+0000) Subject: Changed to external global var X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3383b1d3bb3bdbc39a0a057d83f0db26ea4440b0;p=oota-llvm.git Changed to external global var git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4120 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp b/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp index 48d5e85e646..b0c15f7bf6b 100644 --- a/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp +++ b/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp @@ -190,7 +190,7 @@ bool ProfilePaths::runOnFunction(Function &F){ static bool insertedThreshold = false; if(!insertedThreshold){ - threshold = new GlobalVariable(Type::IntTy, false, true, 0, + threshold = new GlobalVariable(Type::IntTy, false, false, 0, "reopt_threshold"); F.getParent()->getGlobalList().push_back(threshold);