diff options
author | Chris Lattner <sabre@nondot.org> | 2012-01-31 05:09:17 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2012-01-31 05:09:17 +0000 |
commit | 997348e9fee7148a2d3f3830a8beecf740caf639 (patch) | |
tree | 2314ef1a59dee3f22bd4d550d7960cbbcc86afbb /llvm/lib/Analysis | |
parent | 74d4193e2fdc78bfe1e10d3f105189021a44da2d (diff) | |
download | bcm5719-llvm-997348e9fee7148a2d3f3830a8beecf740caf639.tar.gz bcm5719-llvm-997348e9fee7148a2d3f3830a8beecf740caf639.zip |
remove the last vestiges of llvm::GetConstantStringInfo, in CodeGen.
llvm-svn: 149356
Diffstat (limited to 'llvm/lib/Analysis')
-rw-r--r-- | llvm/lib/Analysis/ValueTracking.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/llvm/lib/Analysis/ValueTracking.cpp b/llvm/lib/Analysis/ValueTracking.cpp index d51d7f20ca9..4c18bdf1e53 100644 --- a/llvm/lib/Analysis/ValueTracking.cpp +++ b/llvm/lib/Analysis/ValueTracking.cpp @@ -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. |