mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 08:17:40 +00:00
Eliminate tabs and trailing spaces
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21480 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -53,7 +53,7 @@ static char doDFS(BasicBlock * node,std::map<BasicBlock *, Color > &color){
|
||||
|
||||
if(color[BB]!=GREY && color[BB]!=BLACK){
|
||||
if(!doDFS(BB, color)){
|
||||
return 0;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -101,19 +101,19 @@ bool EmitFunctionTable::runOnModule(Module &M){
|
||||
M.getGlobalList().push_back(gb);
|
||||
|
||||
Constant *constArray = ConstantArray::get(ArrayType::get(Type::SByteTy,
|
||||
sBCons.size()),
|
||||
sBCons);
|
||||
sBCons.size()),
|
||||
sBCons);
|
||||
|
||||
GlobalVariable *funcArray = new GlobalVariable(constArray->getType(), true,
|
||||
GlobalValue::ExternalLinkage,
|
||||
constArray, "llvmSimpleFunction");
|
||||
GlobalValue::ExternalLinkage,
|
||||
constArray, "llvmSimpleFunction");
|
||||
|
||||
M.getGlobalList().push_back(funcArray);
|
||||
|
||||
ConstantInt *cnst = ConstantSInt::get(Type::IntTy, counter);
|
||||
GlobalVariable *fnCount = new GlobalVariable(Type::IntTy, true,
|
||||
GlobalValue::ExternalLinkage,
|
||||
cnst, "llvmFunctionCount");
|
||||
GlobalValue::ExternalLinkage,
|
||||
cnst, "llvmFunctionCount");
|
||||
M.getGlobalList().push_back(fnCount);
|
||||
return true; // Always modifies program
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user