mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Change instnamer to name arguments "arg" instead of "tmp" for clarity, and
to name basic blocks "bb" instead of "BB", for consistency. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84502 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ddef095d4d
commit
e02a698acf
@ -33,11 +33,11 @@ namespace {
|
||||
for (Function::arg_iterator AI = F.arg_begin(), AE = F.arg_end();
|
||||
AI != AE; ++AI)
|
||||
if (!AI->hasName() && AI->getType() != Type::getVoidTy(F.getContext()))
|
||||
AI->setName("tmp");
|
||||
AI->setName("arg");
|
||||
|
||||
for (Function::iterator BB = F.begin(), E = F.end(); BB != E; ++BB) {
|
||||
if (!BB->hasName())
|
||||
BB->setName("BB");
|
||||
BB->setName("bb");
|
||||
|
||||
for (BasicBlock::iterator I = BB->begin(), E = BB->end(); I != E; ++I)
|
||||
if (!I->hasName() && I->getType() != Type::getVoidTy(F.getContext()))
|
||||
|
Loading…
Reference in New Issue
Block a user