mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-26 09:18:56 +00:00
Move Value::getUnderlyingObject to be a standalone
function so that it can live in Analysis instead of VMCore. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121885 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user