Drop support for dematerializing.
[oota-llvm.git] / lib / IR / Globals.cpp
index c538c7baa1feba5928ecc86a0176a5253ea3a216..6159f93faf89bdb368cf31f5b81b556f1456883c 100644 (file)
@@ -32,15 +32,9 @@ bool GlobalValue::isMaterializable() const {
     return F->isMaterializable();
   return false;
 }
-bool GlobalValue::isDematerializable() const {
-  return getParent() && getParent()->isDematerializable(this);
-}
 std::error_code GlobalValue::materialize() {
   return getParent()->materialize(this);
 }
-void GlobalValue::dematerialize() {
-  getParent()->dematerialize(this);
-}
 
 /// Override destroyConstantImpl to make sure it doesn't get called on
 /// GlobalValue's because they shouldn't be treated like other constants.