diff options
author | Sean Silva <silvas@purdue.edu> | 2012-10-11 23:30:49 +0000 |
---|---|---|
committer | Sean Silva <silvas@purdue.edu> | 2012-10-11 23:30:49 +0000 |
commit | 506a1c5a58eab8a169a157dc8d3caef7f08b6cfc (patch) | |
tree | ff38ce16053e3bc04f9d797021cf8d15c6646922 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | d73b2818a18d50c7f951abe09c83c6a123033c41 (diff) | |
download | bcm5719-llvm-506a1c5a58eab8a169a157dc8d3caef7f08b6cfc.tar.gz bcm5719-llvm-506a1c5a58eab8a169a157dc8d3caef7f08b6cfc.zip |
Remove unnecessary classof()'s
isa<> et al. automatically infer when the cast is an upcast (including a
self-cast), so these are no longer necessary.
llvm-svn: 165767
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
-rw-r--r-- | llvm/lib/Bitcode/Reader/BitcodeReader.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp index 1a3a7b0f3f5..9bee491377c 100644 --- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp +++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp @@ -211,7 +211,6 @@ namespace { } /// @brief Methods to support type inquiry through isa, cast, and dyn_cast. - //static inline bool classof(const ConstantPlaceHolder *) { return true; } static bool classof(const Value *V) { return isa<ConstantExpr>(V) && cast<ConstantExpr>(V)->getOpcode() == Instruction::UserOp1; |