summaryrefslogtreecommitdiff
path: root/openjdkjvmti/ti_method.cc
diff options
context:
space:
mode:
Diffstat (limited to 'openjdkjvmti/ti_method.cc')
-rw-r--r--openjdkjvmti/ti_method.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/openjdkjvmti/ti_method.cc b/openjdkjvmti/ti_method.cc
index 50402a04a9..f05977a4b1 100644
--- a/openjdkjvmti/ti_method.cc
+++ b/openjdkjvmti/ti_method.cc
@@ -572,9 +572,8 @@ class CommonLocalVariableClosure : public art::Closure {
return;
}
art::ArtMethod* method = visitor.GetMethod();
- // Native and 'art' proxy methods don't have registers.
- if (method->IsNative() || method->IsProxyMethod()) {
- // TODO It might be useful to fake up support for get at least on proxy frames.
+ if (method->IsNative()) {
+ // TODO We really should support get/set for non-shadow frames.
result_ = ERR(OPAQUE_FRAME);
return;
} else if (method->GetCodeItem()->registers_size_ <= slot_) {