mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 22:24:07 +00:00
Use error_code in GVMaterializer.
They just propagate out the bitcode reader error, so we don't need a new enum. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194091 91177308-0d34-0410-b5e6-96231b3b80d8
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