[llvm-commits] CVS: llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp

Anand Shukla ashukla at cs.uiuc.edu
Sat Oct 12 15:34:01 PDT 2002


Changes in directory llvm/lib/Transforms/Instrumentation/ProfilePaths:

ProfilePaths.cpp updated: 1.21 -> 1.22

---
Log message:

Changed to external global var


---
Diffs of the changes:

Index: llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
diff -u llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp:1.21 llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp:1.22
--- llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp:1.21	Fri Sep 20 11:43:27 2002
+++ llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp	Sat Oct 12 15:33:47 2002
@@ -190,7 +190,7 @@
   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);





More information about the llvm-commits mailing list