summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Writer/ValueEnumerator.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-07-22 18:35:25 +0000
committerDevang Patel <dpatel@apple.com>2009-07-22 18:35:25 +0000
commit75094f8e83fd025dc5f000eb809385a8f71f8b5f (patch)
treef0a979524b86c8782e5f149ffe1db0b8c999fca0 /llvm/lib/Bitcode/Writer/ValueEnumerator.cpp
parent8a27391190defd14a24057f3e7c1b9959ac715fa (diff)
downloadbcm5719-llvm-75094f8e83fd025dc5f000eb809385a8f71f8b5f.tar.gz
bcm5719-llvm-75094f8e83fd025dc5f000eb809385a8f71f8b5f.zip
Use isa<> instead of dyn_cast<>.
llvm-svn: 76767
Diffstat (limited to 'llvm/lib/Bitcode/Writer/ValueEnumerator.cpp')
-rw-r--r--llvm/lib/Bitcode/Writer/ValueEnumerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Writer/ValueEnumerator.cpp b/llvm/lib/Bitcode/Writer/ValueEnumerator.cpp
index aa808e2672d..4a6eea49430 100644
--- a/llvm/lib/Bitcode/Writer/ValueEnumerator.cpp
+++ b/llvm/lib/Bitcode/Writer/ValueEnumerator.cpp
@@ -265,7 +265,7 @@ void ValueEnumerator::EnumerateOperandType(const Value *V) {
EnumerateOperandType(Elem);
}
}
- } else if (dyn_cast<MDString>(V))
+ } else if (isa<MDString>(V))
EnumerateValue(V);
}
OpenPOWER on IntegriCloud