Fix FindCatchBlock to work in -Xverify:none mode.
FindCatchBlock now uses ResolveType to get the exception type,
since it might not be able to find it in the dex cache.
Bug: 13948502
Change-Id: Ia6f1c7dc743206ae1c8551bf6239f48ee4d3a784
diff --git a/runtime/catch_block_stack_visitor.h b/runtime/catch_block_stack_visitor.h
index 175ad7d..ce67e27 100644
--- a/runtime/catch_block_stack_visitor.h
+++ b/runtime/catch_block_stack_visitor.h
@@ -45,7 +45,7 @@
Thread* const self_;
const bool is_deoptimization_;
// The type of the exception catch block to find.
- mirror::Class* const to_find_;
+ mirror::Class* to_find_;
CatchFinder* const catch_finder_;
// Number of native methods passed in crawl (equates to number of SIRTs to pop)
uint32_t native_method_count_;