Use error_code in GVMaterializer.
They just propagate out the bitcode reader error, so we don't need a new enum. llvm-svn: 194091
This commit is contained in:
@@ -249,8 +249,8 @@ public:
|
||||
|
||||
virtual bool isMaterializable(const GlobalValue *GV) const;
|
||||
virtual bool isDematerializable(const GlobalValue *GV) const;
|
||||
virtual bool Materialize(GlobalValue *GV, std::string *ErrInfo = 0);
|
||||
virtual bool MaterializeModule(Module *M, std::string *ErrInfo = 0);
|
||||
virtual error_code Materialize(GlobalValue *GV);
|
||||
virtual error_code MaterializeModule(Module *M);
|
||||
virtual void Dematerialize(GlobalValue *GV);
|
||||
|
||||
/// @brief Main interface to parsing a bitcode buffer.
|
||||
|
||||
Reference in New Issue
Block a user