Modernize the error handling of the Materialize function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220600 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2014-10-24 22:50:48 +00:00
parent 44ccedc273
commit c498284e46
12 changed files with 39 additions and 36 deletions

View File

@@ -38,7 +38,7 @@ public:
/// Make sure the given GlobalValue is fully read.
///
virtual std::error_code Materialize(GlobalValue *GV) = 0;
virtual std::error_code materialize(GlobalValue *GV) = 0;
/// If the given GlobalValue is read in, and if the GVMaterializer supports
/// it, release the memory for the GV, and set it up to be materialized