Fixed a bug so initialization code is always inserted in main

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6622 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Anand Shukla
2003-06-05 06:02:46 +00:00
parent 7990199625
commit cd0cc61329
2 changed files with 44 additions and 18 deletions
@@ -293,7 +293,7 @@ void insertInTopBB(BasicBlock *front,
//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 @@ void insertInTopBB(BasicBlock *front,
new CallInst(initialMeth, trargs, "", here);
}
*/
}