mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 23:31:37 +00:00
fix refactoro
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92349 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f3f55a9bc1
commit
dbe85bffd7
@ -2041,7 +2041,7 @@ void Value::print(raw_ostream &ROS, AssemblyAnnotationWriter *AAW) const {
|
||||
if (const Instruction *I = dyn_cast<Instruction>(this)) {
|
||||
const Function *F = I->getParent() ? I->getParent()->getParent() : 0;
|
||||
SlotTracker SlotTable(F);
|
||||
AssemblyWriter W(OS, SlotTable, getModuleFromVal(F), AAW);
|
||||
AssemblyWriter W(OS, SlotTable, getModuleFromVal(I), AAW);
|
||||
W.printInstruction(*I);
|
||||
} else if (const BasicBlock *BB = dyn_cast<BasicBlock>(this)) {
|
||||
SlotTracker SlotTable(BB->getParent());
|
||||
|
Loading…
x
Reference in New Issue
Block a user