Devirtualize Constant::replaceUsesOfWithOnConstant.
[oota-llvm.git] / lib / IR / Globals.cpp
index 49ac236778cf6b3bfd3cf6ce1dccd6501825f6a7..1d0282677bf7f9e303c615f25ab82277da0ac2a4 100644 (file)
@@ -48,8 +48,8 @@ void GlobalValue::destroyConstantImpl() {
   llvm_unreachable("You can't GV->destroyConstantImpl()!");
 }
 
-void GlobalValue::replaceUsesOfWithOnConstant(Value *From, Value *To, Use *U) {
-  llvm_unreachable("You can't GV->replaceUsesOfWithOnConstant()!");
+Value *GlobalValue::handleOperandChangeImpl(Value *From, Value *To, Use *U) {
+  llvm_unreachable("Unsupported class for handleOperandChange()!");
 }
 
 /// copyAttributesFrom - copy all additional attributes (those not needed to