Changed to external global var

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4120 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Anand Shukla 2002-10-12 20:33:47 +00:00
parent 2123c08f20
commit 3383b1d3bb

View File

@ -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);