mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
Use isa<> instead of dyn_cast<> as suggested by Nick.
Should've read the patch a bit closer, sorry. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144164 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2f2fe417f9
commit
fd22883a34
@ -64,7 +64,7 @@ void DiffConsumer::printValue(Value *V, bool isL) {
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (dyn_cast<Constant>(V)) {
|
||||
if (isa<Constant>(V)) {
|
||||
out << *V;
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user