Debug info: Get rid of the VLA indirection hack in FastISel.

Use the DIVariable::isIndirect() flag set by the frontend instead of
guessing whether to set the machine location's indirection bit.
Paired commit with CFE.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190961 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Adrian Prantl
2013-09-18 22:08:59 +00:00
parent 51279d45f7
commit 0a4371a207
4 changed files with 19 additions and 21 deletions
+2 -1
View File
@@ -44,7 +44,8 @@ public:
Offset == Other.Offset;
}
// Accessors
// Accessors.
/// \return true iff this is a register-indirect location.
bool isIndirect() const { return !IsRegister; }
bool isReg() const { return IsRegister; }
unsigned getReg() const { return Register; }