diff options
Diffstat (limited to 'runtime/stack.cc')
-rw-r--r-- | runtime/stack.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/stack.cc b/runtime/stack.cc index b771aa71a1..b39aebfc4f 100644 --- a/runtime/stack.cc +++ b/runtime/stack.cc @@ -134,7 +134,8 @@ mirror::Object* StackVisitor::GetThisObject() const { } else { return cur_shadow_frame_->GetVRegReference(0); } - } else if (m->IsOptimized(sizeof(void*))) { + } else if (m->IsOptimized(GetInstructionSetPointerSize( + Runtime::Current()->GetInstructionSet()))) { // TODO: Implement, currently only used for exceptions when jdwp is enabled. UNIMPLEMENTED(WARNING) << "StackVisitor::GetThisObject is unimplemented with the optimizing compiler"; |