Chromium Code Reviews| Index: runtime/vm/isolate.h |
| diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h |
| index 4180ccee69cd841cc4e768be90334f7ae629d26f..90b71abcdb3e1f7c5a29885d049832c854cd828e 100644 |
| --- a/runtime/vm/isolate.h |
| +++ b/runtime/vm/isolate.h |
| @@ -10,6 +10,8 @@ |
| #include "vm/atomic.h" |
| #include "vm/base_isolate.h" |
| #include "vm/class_table.h" |
| +#include "vm/exceptions.h" |
| +#include "vm/fixed_cache.h" |
| #include "vm/handles.h" |
| #include "vm/megamorphic_cache_table.h" |
| #include "vm/metrics.h" |
| @@ -124,6 +126,10 @@ class NoReloadScope : public StackResource { |
| }; |
| +// Fixed cache for exception handler lookup. |
| +typedef FixedCache<intptr_t, HandlerInfo, 16> HandlerInfoCache; |
| + |
| + |
| class Isolate : public BaseIsolate { |
| public: |
| // Keep both these enums in sync with isolate_patch.dart. |
| @@ -836,6 +842,10 @@ class Isolate : public BaseIsolate { |
| // Should we pause in the debug message loop after this request? |
| bool should_pause_post_service_request_; |
| + public: |
| + HandlerInfoCache handler_info_cache; |
|
Florian Schneider
2017/02/08 21:34:05
Maybe make this private and add a public getter me
Dmitry Olshansky
2017/02/09 17:54:34
Done.
|
| + |
| + private: |
| static Dart_IsolateCreateCallback create_callback_; |
| static Dart_IsolateShutdownCallback shutdown_callback_; |