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

Anand Shukla ashukla at cs.uiuc.edu
Thu Jun 5 01:03:01 PDT 2003


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

EdgeCode.cpp updated: 1.20 -> 1.21

---
Log message:

Fixed a bug so initialization code is always inserted in main

---
Diffs of the changes:

Index: llvm/lib/Transforms/Instrumentation/ProfilePaths/EdgeCode.cpp
diff -u llvm/lib/Transforms/Instrumentation/ProfilePaths/EdgeCode.cpp:1.20 llvm/lib/Transforms/Instrumentation/ProfilePaths/EdgeCode.cpp:1.21
--- llvm/lib/Transforms/Instrumentation/ProfilePaths/EdgeCode.cpp:1.20	Wed Apr 23 11:37:41 2003
+++ llvm/lib/Transforms/Instrumentation/ProfilePaths/EdgeCode.cpp	Thu Jun  5 01:02:27 2003
@@ -293,7 +293,7 @@
 //iniArgs.push_back(ConstantSInt::get(Type::IntTy, k));
 //new CallInst(inCountMth, iniArgs, "", here);
   
-
+/*
   if(front->getParent()->getName() == "main"){
     //intialize threshold
     vector<const Type*> initialize_args;
@@ -309,6 +309,7 @@
   
     new CallInst(initialMeth, trargs, "", here);
   }
+*/
 }
 
 





More information about the llvm-commits mailing list