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 | 12b05f3880330f2ba03a1fd4b2dee8ddfe0687be (patch) | |
tree | 12cd89f1df49420a66cffd3406325686758ed44d /llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp | |
parent | 16b1cb08b107bce78174d05ac1ed2561d5550dcd (diff) | |
download | bcm5719-llvm-12b05f3880330f2ba03a1fd4b2dee8ddfe0687be.tar.gz bcm5719-llvm-12b05f3880330f2ba03a1fd4b2dee8ddfe0687be.zip |
Changed to external global var
llvm-svn: 4120
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp')
-rw-r--r-- | llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp b/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp index 48d5e85e646..b0c15f7bf6b 100644 --- a/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp +++ b/llvm/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); |