diff options
author | 2013-06-03 17:26:19 -0700 | |
---|---|---|
committer | 2013-06-03 17:40:27 -0700 | |
commit | 8d44885106503f68e5b977c080df8ae6cc360497 (patch) | |
tree | dfe686382944e22329674aaf6cfaedd47bf89666 | |
parent | 0aaf0f261b3cbbc1da85b792e7bde801067922d1 (diff) |
Fix portable build shadow frame.
Change-Id: I78cbf09dbe2bcfc0c3b8bf40f804ae65da7bdf8c
-rw-r--r-- | src/stack.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stack.cc b/src/stack.cc index c32b8229bc..8672975453 100644 --- a/src/stack.cc +++ b/src/stack.cc @@ -47,7 +47,7 @@ mirror::Object* ShadowFrame::GetThisObject(uint16_t num_ins) const { if (m->IsStatic()) { return NULL; } else { - return GetVRegReference(number_of_vregs_ - num_ins); + return GetVRegReference(NumberOfVRegs() - num_ins); } } |