Changed to external global var
authorAnand Shukla <ashukla@cs.uiuc.edu>
Sat, 12 Oct 2002 20:33:47 +0000 (20:33 +0000)
committerAnand Shukla <ashukla@cs.uiuc.edu>
Sat, 12 Oct 2002 20:33:47 +0000 (20:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4120 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp

index 48d5e85e6464d10f39c359654fcf159be8657a92..b0c15f7bf6be4241a0f6eab8a34dc7a24f793522 100644 (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);