diff options
author | Adrian Prantl <aprantl@apple.com> | 2014-04-25 18:18:09 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2014-04-25 18:18:09 +0000 |
commit | d2d9b76e484cccc8ab60bf11a93b2be7c7429019 (patch) | |
tree | 2d5a2ed534bb7be63eca836bd186549fc18224d9 /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | a16a629ef6a3c18d1be1c2008f11dc5b446ad670 (diff) | |
download | bcm5719-llvm-d2d9b76e484cccc8ab60bf11a93b2be7c7429019.tar.gz bcm5719-llvm-d2d9b76e484cccc8ab60bf11a93b2be7c7429019.zip |
Revert "This reapplies r207130 with an additional testcase+and a missing check for"
This reverts commit 207235 to investigate msan buildbot breakage.
llvm-svn: 207250
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LiveDebugVariables.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugVariables.cpp b/llvm/lib/CodeGen/LiveDebugVariables.cpp index 388f58fde2a..dcd78a27a29 100644 --- a/llvm/lib/CodeGen/LiveDebugVariables.cpp +++ b/llvm/lib/CodeGen/LiveDebugVariables.cpp @@ -157,8 +157,8 @@ public: UserValue *getNext() const { return next; } /// match - Does this UserValue match the parameters? - bool match(const MDNode *Var, unsigned Offset, bool indirect) const { - return Var == variable && Offset == offset && indirect == IsIndirect; + bool match(const MDNode *Var, unsigned Offset) const { + return Var == variable && Offset == offset; } /// merge - Merge equivalence classes. @@ -427,7 +427,7 @@ UserValue *LDVImpl::getUserValue(const MDNode *Var, unsigned Offset, UserValue *UV = Leader->getLeader(); Leader = UV; for (; UV; UV = UV->getNext()) - if (UV->match(Var, Offset, IsIndirect)) + if (UV->match(Var, Offset)) return UV; } |