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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user