Drop support for dematerializing.

It was only used on lib/Linker and the use was "dead" since it was used on a
function the IRMover had just moved.

llvm-svn: 256019
This commit is contained in:
Rafael Espindola
2015-12-18 19:57:26 +00:00
parent 081a24e3a7
commit 18c63b0f18
8 changed files with 0 additions and 119 deletions

View File

@@ -384,12 +384,6 @@ void Module::setMaterializer(GVMaterializer *GVM) {
Materializer.reset(GVM);
}
bool Module::isDematerializable(const GlobalValue *GV) const {
if (Materializer)
return Materializer->isDematerializable(GV);
return false;
}
std::error_code Module::materialize(GlobalValue *GV) {
if (!Materializer)
return std::error_code();
@@ -397,11 +391,6 @@ std::error_code Module::materialize(GlobalValue *GV) {
return Materializer->materialize(GV);
}
void Module::dematerialize(GlobalValue *GV) {
if (Materializer)
return Materializer->dematerialize(GV);
}
std::error_code Module::materializeAll() {
if (!Materializer)
return std::error_code();