summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/Loads.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-12-15 20:02:24 +0000
committerDan Gohman <gohman@apple.com>2010-12-15 20:02:24 +0000
commita4fcd2418dc7f0b425a3c1b4fb873fbe4e2e7f72 (patch)
tree962968e998866ffb0bf159c77c4f85e4bc509f3a /llvm/lib/Analysis/Loads.cpp
parenta51174af72e0ff8ccff9e5fc04b11a4c44f4d99c (diff)
downloadbcm5719-llvm-a4fcd2418dc7f0b425a3c1b4fb873fbe4e2e7f72.tar.gz
bcm5719-llvm-a4fcd2418dc7f0b425a3c1b4fb873fbe4e2e7f72.zip
Move Value::getUnderlyingObject to be a standalone
function so that it can live in Analysis instead of VMCore. llvm-svn: 121885
Diffstat (limited to 'llvm/lib/Analysis/Loads.cpp')
-rw-r--r--llvm/lib/Analysis/Loads.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/Loads.cpp b/llvm/lib/Analysis/Loads.cpp
index b1f2cb41cd2..2ea27fb62fc 100644
--- a/llvm/lib/Analysis/Loads.cpp
+++ b/llvm/lib/Analysis/Loads.cpp
@@ -49,7 +49,7 @@ static bool AreEquivalentAddressValues(const Value *A, const Value *B) {
/// getUnderlyingObjectWithOffset - Strip off up to MaxLookup GEPs and
/// bitcasts to get back to the underlying object being addressed, keeping
/// track of the offset in bytes from the GEPs relative to the result.
-/// This is closely related to Value::getUnderlyingObject but is located
+/// This is closely related to GetUnderlyingObject but is located
/// here to avoid making VMCore depend on TargetData.
static Value *getUnderlyingObjectWithOffset(Value *V, const TargetData *TD,
uint64_t &ByteOffset,
OpenPOWER on IntegriCloud