1
0
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:
John McCall 2011-11-09 03:26:50 +00:00
parent e32fed6868
commit 2eda1daed3

View File

@ -64,7 +64,7 @@ void DiffConsumer::printValue(Value *V, bool isL) {
}
return;
}
if (dyn_cast<Constant>(V)) {
if (isa<Constant>(V)) {
out << *V;
return;
}