diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2015-03-11 15:11:19 +0000 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2015-03-12 17:55:01 +0000 |
commit | 915b9d0c13bb5091875d868fbfa551d7b65d7477 (patch) | |
tree | 63822d7081b0da33ccda2019dd52025f0ecedb35 /runtime/stack.cc | |
parent | bf5565a75876a84c8c2401df597d922a7870a8f2 (diff) | |
download | art-915b9d0c13bb5091875d868fbfa551d7b65d7477.zip art-915b9d0c13bb5091875d868fbfa551d7b65d7477.tar.gz art-915b9d0c13bb5091875d868fbfa551d7b65d7477.tar.bz2 |
Tweak liveness when instructions are used in environments.
Instructions remain live when debuggable, but only instructions
with object types remain live when non-debuggable.
Enable StackVisitor::GetThisObject for optimizing.
Change-Id: Id87b2cbf33a02450059acc9993995782e5f28987
Diffstat (limited to 'runtime/stack.cc')
-rw-r--r-- | runtime/stack.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/runtime/stack.cc b/runtime/stack.cc index 48becf6..24f71ed 100644 --- a/runtime/stack.cc +++ b/runtime/stack.cc @@ -129,12 +129,6 @@ mirror::Object* StackVisitor::GetThisObject() const { } else { return cur_shadow_frame_->GetVRegReference(0); } - } 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"; - return nullptr; } else { const DexFile::CodeItem* code_item = m->GetCodeItem(); if (code_item == nullptr) { |