Index: runtime/vm/stack_frame.cc |
diff --git a/runtime/vm/stack_frame.cc b/runtime/vm/stack_frame.cc |
index 6806d99dbf35b09ecb5c74d1a9e89dbd383e06ee..c84811a8cb1f1711070e2c5255b9bea18d9750aa 100644 |
--- a/runtime/vm/stack_frame.cc |
+++ b/runtime/vm/stack_frame.cc |
@@ -250,15 +250,13 @@ RawCode* StackFrame::GetCodeObject() const { |
bool StackFrame::FindExceptionHandler(Thread* thread, |
uword* handler_pc, |
bool* needs_stacktrace, |
- bool* has_catch_all, |
- bool* is_optimized) const { |
+ bool* has_catch_all) const { |
REUSABLE_CODE_HANDLESCOPE(thread); |
Code& code = reused_code_handle.Handle(); |
code = LookupDartCode(); |
if (code.IsNull()) { |
return false; // Stub frames do not have exception handlers. |
} |
- *is_optimized = code.is_optimized(); |
HandlerInfoCache* cache = thread->isolate()->handler_info_cache(); |
ExceptionHandlerInfo* info = cache->Lookup(pc()); |
if (info != NULL) { |