Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1190)

Unified Diff: runtime/vm/exceptions.h

Issue 2683633005: Add exception handler cache to isolate (Closed)
Patch Set: Add unittest Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/code_generator.cc ('k') | runtime/vm/fixed_cache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/exceptions.h
diff --git a/runtime/vm/exceptions.h b/runtime/vm/exceptions.h
index 48e0f4afbc01defc6a6467d0a135a2d6570a0866..2d80881e26402b22e1a07da755dbc24f1f8d41a1 100644
--- a/runtime/vm/exceptions.h
+++ b/runtime/vm/exceptions.h
@@ -90,6 +90,15 @@ class Exceptions : AllStatic {
DISALLOW_COPY_AND_ASSIGN(Exceptions);
};
+// The index into the ExceptionHandlers table corresponds to
+// the try_index of the handler.
+struct HandlerInfo {
hausner 2017/02/10 21:57:12 DBC: Now that this struct is not declared inside R
Dmitry Olshansky 2017/02/13 10:40:00 Done.
+ uint32_t handler_pc_offset; // PC offset value of handler.
+ int16_t outer_try_index; // Try block index of enclosing try block.
+ int8_t needs_stacktrace; // True if a stacktrace is needed.
+ int8_t has_catch_all; // Catches all exceptions.
+};
+
} // namespace dart
#endif // RUNTIME_VM_EXCEPTIONS_H_
« no previous file with comments | « runtime/vm/code_generator.cc ('k') | runtime/vm/fixed_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698