diff options
Diffstat (limited to 'llvm/lib/Bytecode/Reader/ConstantReader.cpp')
| -rw-r--r-- | llvm/lib/Bytecode/Reader/ConstantReader.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Bytecode/Reader/ConstantReader.cpp b/llvm/lib/Bytecode/Reader/ConstantReader.cpp index 6b69b361c1e..13f8747cb7d 100644 --- a/llvm/lib/Bytecode/Reader/ConstantReader.cpp +++ b/llvm/lib/Bytecode/Reader/ConstantReader.cpp @@ -87,6 +87,11 @@ const Type *BytecodeParser::parseTypeConstant(const uchar *&Buf, break; } + case Type::OpaqueTyID: { + Val = OpaqueType::get(); + break; + } + default: cerr << __FILE__ << ":" << __LINE__ << ": Don't know how to deserialize" << " primitive Type " << PrimType << "\n"; |

