mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-13 09:33:50 +00:00
As pointed out by g++-4.2, the original code didn't do
what it thought it was doing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40044 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
71a1e57d18
commit
70d0bd1624
@ -3642,7 +3642,7 @@ void SDNode::dump(const SelectionDAG *G) const {
|
||||
cerr << MVT::getValueTypeString(LD->getLoadedVT()) << ">";
|
||||
|
||||
const char *AM = getIndexedModeName(LD->getAddressingMode());
|
||||
if (AM != "")
|
||||
if (*AM)
|
||||
cerr << " " << AM;
|
||||
} else if (const StoreSDNode *ST = dyn_cast<StoreSDNode>(this)) {
|
||||
if (ST->isTruncatingStore())
|
||||
@ -3650,7 +3650,7 @@ void SDNode::dump(const SelectionDAG *G) const {
|
||||
<< MVT::getValueTypeString(ST->getStoredVT()) << ">";
|
||||
|
||||
const char *AM = getIndexedModeName(ST->getAddressingMode());
|
||||
if (AM != "")
|
||||
if (*AM)
|
||||
cerr << " " << AM;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user