Fix JavaArraySyntheticFrontEnd for non-reference ValueObject.

Summary: Fix missing return after checking that m_backend is not a pointer or reference type.

Reviewers: clayborg, tberghammer

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D20875

llvm-svn: 271453
This commit is contained in:
Tamas Berghammer 2016-06-02 00:45:38 +00:00
parent 8efdbd4074
commit 858aba0666
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ private:
GetDereferencedValueObject()
{
if (!m_backend.IsPointerOrReferenceType())
m_backend.GetSP();
return m_backend.GetSP();
Error error;
return m_backend.Dereference(error);