Modernize the error handling of the Materialize function.
[oota-llvm.git] / include / llvm / IR / GVMaterializer.h
index 7cc48eb05d061b3d220b02d1623629ec6b1198ce..a7d68eccba57fb94f6b1ab91bd7ac03bafedc02b 100644 (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