mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Use isa<> instead of dyn_cast<> as suggested by Nick.
Should've read the patch a bit closer, sorry. llvm-svn: 144164
This commit is contained in:
parent
e32fed6868
commit
2eda1daed3
@ -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…
x
Reference in New Issue
Block a user