mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-09 13:33:17 +00:00
clean up -debug output.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92343 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7e54d5b156
commit
1befe643b2
@ -61,10 +61,11 @@ namespace {
|
|||||||
static void PrintOps(Instruction *I, const std::vector<ValueEntry> &Ops) {
|
static void PrintOps(Instruction *I, const std::vector<ValueEntry> &Ops) {
|
||||||
Module *M = I->getParent()->getParent()->getParent();
|
Module *M = I->getParent()->getParent()->getParent();
|
||||||
errs() << Instruction::getOpcodeName(I->getOpcode()) << " "
|
errs() << Instruction::getOpcodeName(I->getOpcode()) << " "
|
||||||
<< *Ops[0].Op->getType();
|
<< *Ops[0].Op->getType() << '\t';
|
||||||
for (unsigned i = 0, e = Ops.size(); i != e; ++i) {
|
for (unsigned i = 0, e = Ops.size(); i != e; ++i) {
|
||||||
WriteAsOperand(errs() << " ", Ops[i].Op, false, M);
|
errs() << "[ ";
|
||||||
errs() << "," << Ops[i].Rank;
|
WriteAsOperand(errs(), Ops[i].Op, false, M);
|
||||||
|
errs() << ", #" << Ops[i].Rank << "] ";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user