diff options
Diffstat (limited to 'lib/Bytecode/Reader/ConstantReader.cpp')
-rw-r--r-- | lib/Bytecode/Reader/ConstantReader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Bytecode/Reader/ConstantReader.cpp b/lib/Bytecode/Reader/ConstantReader.cpp index 8877fe39e3..d52e5a67cc 100644 --- a/lib/Bytecode/Reader/ConstantReader.cpp +++ b/lib/Bytecode/Reader/ConstantReader.cpp @@ -277,7 +277,7 @@ bool BytecodeParser::parseConstantValue(const unsigned char *&Buf, abort(); case Type::ArrayTyID: { - const ArrayType *AT = cast<const ArrayType>(Ty); + const ArrayType *AT = cast<ArrayType>(Ty); unsigned NumElements = AT->getNumElements(); std::vector<Constant*> Elements; @@ -310,7 +310,7 @@ bool BytecodeParser::parseConstantValue(const unsigned char *&Buf, } case Type::PointerTyID: { - const PointerType *PT = cast<const PointerType>(Ty); + const PointerType *PT = cast<PointerType>(Ty); unsigned SubClass; if (HasImplicitZeroInitializer) SubClass = 1; |