summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-12-18 19:57:26 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-12-18 19:57:26 +0000
commit18c63b0f1859d9996b4d3b8c69c22f5f6b46498b (patch)
treebec9efd8dbfff541d87707e1a3ba4ed0eb02751f /llvm/lib/IR/Module.cpp
parent081a24e3a7cf26c5190699ea8567786c9cb01797 (diff)
downloadbcm5719-llvm-18c63b0f1859d9996b4d3b8c69c22f5f6b46498b.tar.gz
bcm5719-llvm-18c63b0f1859d9996b4d3b8c69c22f5f6b46498b.zip
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
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
-rw-r--r--llvm/lib/IR/Module.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/llvm/lib/IR/Module.cpp b/llvm/lib/IR/Module.cpp
index 2acd9db210d..d1744910869 100644
--- a/llvm/lib/IR/Module.cpp
+++ b/llvm/lib/IR/Module.cpp
@@ -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();
OpenPOWER on IntegriCloud