mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
bug 122:
- Correct isa<Constant> for GlobalValue subclass git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14949 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
460f16c625
commit
2786542aad
@ -17,7 +17,7 @@ std::ostream &operator<<(std::ostream &O, RAV V) { // func to print a Value
|
||||
const Value &v = V.V;
|
||||
if (v.hasName())
|
||||
return O << (void*)&v << "(" << v.getName() << ") ";
|
||||
else if (isa<Constant>(v))
|
||||
else if (isa<Constant>(v) && !isa<GlobalValue>(v))
|
||||
return O << (void*)&v << "(" << v << ") ";
|
||||
else
|
||||
return O << (void*)&v << " ";
|
||||
|
Loading…
x
Reference in New Issue
Block a user