mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 00:20:11 +00:00
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:
@@ -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);
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user