While in GlobalValue fix the function(s) that don't follow the

naming convention and update users.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237461 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher
2015-05-15 18:20:14 +00:00
parent 85e632de29
commit 1bef1cdd92
8 changed files with 18 additions and 18 deletions

View File

@@ -38,8 +38,8 @@ bool GlobalValue::isDematerializable() const {
std::error_code GlobalValue::materialize() {
return getParent()->materialize(this);
}
void GlobalValue::Dematerialize() {
getParent()->Dematerialize(this);
void GlobalValue::dematerialize() {
getParent()->dematerialize(this);
}
/// Override destroyConstant to make sure it doesn't get called on

View File

@@ -394,15 +394,15 @@ std::error_code Module::materialize(GlobalValue *GV) {
return Materializer->materialize(GV);
}
void Module::Dematerialize(GlobalValue *GV) {
void Module::dematerialize(GlobalValue *GV) {
if (Materializer)
return Materializer->Dematerialize(GV);
return Materializer->dematerialize(GV);
}
std::error_code Module::materializeAll() {
if (!Materializer)
return std::error_code();
return Materializer->MaterializeModule(this);
return Materializer->materializeModule(this);
}
std::error_code Module::materializeAllPermanently() {