mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-16 00:33:10 +00:00
Do not allow uninitialize access during debug printing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91232 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bcae205a4b
commit
cdcad11c94
@ -86,10 +86,10 @@ namespace {
|
||||
|
||||
void dump() {
|
||||
errs() << "MSP430ISelAddressMode " << this << '\n';
|
||||
if (Base.Reg.getNode() != 0) {
|
||||
if (BaseType == RegBase && Base.Reg.getNode() != 0) {
|
||||
errs() << "Base.Reg ";
|
||||
Base.Reg.getNode()->dump();
|
||||
} else {
|
||||
} else if (BaseType == FrameIndexBase) {
|
||||
errs() << " Base.FrameIndex " << Base.FrameIndex << '\n';
|
||||
}
|
||||
errs() << " Disp " << Disp << '\n';
|
||||
|
Loading…
x
Reference in New Issue
Block a user