remove the last vestiges of llvm::GetConstantStringInfo, in CodeGen.
[oota-llvm.git] / lib / Analysis / ValueTracking.cpp
index d51d7f20ca9f619a1d1fcc654d608a69607589bd..4c18bdf1e53383dd168ed4fe7a5fa36e64dc0c95 100644 (file)
@@ -1603,16 +1603,6 @@ Value *llvm::GetPointerBaseWithConstantOffset(Value *Ptr, int64_t &Offset,
 }
 
 
-// FIXME: Remove this.
-bool llvm::GetConstantStringInfo(const Value *V, std::string &Str,
-                           uint64_t Offset) {
-  StringRef Tmp;
-  if (!getConstantStringInfo(V, Tmp, Offset))
-    return false;
-  Str = Tmp.str();
-  return true;
-}
-
 /// getConstantStringInfo - This function computes the length of a
 /// null-terminated C string pointed to by V.  If successful, it returns true
 /// and returns the string in Str.  If unsuccessful, it returns false.