summaryrefslogtreecommitdiff
path: root/runtime/mirror/art_method.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2015-03-04 11:13:16 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-03-04 11:13:17 +0000
commit3d7d2af4c6502b771b032ee9bf3ab30e78f9c60d (patch)
treecc15416fa8208661fe98a19055fa4c98010a0e53 /runtime/mirror/art_method.cc
parent87896b3a1f97c815fe02c7490c1f27951c58bbbf (diff)
parent7642cfc90fc9c3ebfd8e3b5041915705c93b5cf0 (diff)
Merge "Change how we report exceptions to the debugger."
Diffstat (limited to 'runtime/mirror/art_method.cc')
-rw-r--r--runtime/mirror/art_method.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/runtime/mirror/art_method.cc b/runtime/mirror/art_method.cc
index 26f6f345d5..85fc5f3c96 100644
--- a/runtime/mirror/art_method.cc
+++ b/runtime/mirror/art_method.cc
@@ -274,7 +274,6 @@ uint32_t ArtMethod::FindCatchBlock(Handle<ArtMethod> h_this, Handle<Class> excep
ThrowLocation throw_location;
StackHandleScope<1> hs(self);
Handle<mirror::Throwable> exception(hs.NewHandle(self->GetException(&throw_location)));
- bool is_exception_reported = self->IsExceptionReportedToInstrumentation();
self->ClearException();
// Default to handler not found.
uint32_t found_dex_pc = DexFile::kDexNoIndex;
@@ -311,7 +310,6 @@ uint32_t ArtMethod::FindCatchBlock(Handle<ArtMethod> h_this, Handle<Class> excep
// Put the exception back.
if (exception.Get() != nullptr) {
self->SetException(throw_location, exception.Get());
- self->SetExceptionReportedToInstrumentation(is_exception_reported);
}
return found_dex_pc;
}