diff options
author | Anand Shukla <ashukla@cs.uiuc.edu> | 2002-10-12 20:33:47 +0000 |
---|---|---|
committer | Anand Shukla <ashukla@cs.uiuc.edu> | 2002-10-12 20:33:47 +0000 |
commit | 3383b1d3bb3bdbc39a0a057d83f0db26ea4440b0 (patch) | |
tree | 8f4acf6829a3ba38926faa9a6aaddaa08c987928 /lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp | |
parent | 2123c08f20484f344d64808f3c41549a0cddd8fc (diff) |
Changed to external global var
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4120 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp')
-rw-r--r-- | lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp b/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp index 48d5e85e64..b0c15f7bf6 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); |