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

Unified Diff: runtime/vm/exceptions.h

Issue 2683633005: Add exception handler cache to isolate (Closed)
Patch Set: s/HandlerInfo/ExceptionHandlerInfo 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..df4c44c4bd157f16374cdd7588f8862c3ef5aab3 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 ExceptionHandlerInfo {
+ 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