From 12b05f3880330f2ba03a1fd4b2dee8ddfe0687be Mon Sep 17 00:00:00 2001 From: Anand Shukla Date: Sat, 12 Oct 2002 20:33:47 +0000 Subject: [PATCH] Changed to external global var llvm-svn: 4120 --- .../Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp b/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp index 48d5e85e6464..b0c15f7bf6be 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);