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

Unified Diff: runtime/vm/object.h

Issue 2683633005: Add exception handler cache to isolate (Closed)
Patch Set: Address review commments 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
Index: runtime/vm/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index 69dc8146685755d55607dc1a7175e4df918de61e..e509abe56d47f8cf789b1f2fa5f069d31957711c 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -4493,8 +4493,7 @@ class ExceptionHandlers : public Object {
intptr_t num_entries() const;
- void GetHandlerInfo(intptr_t try_index,
- RawExceptionHandlers::HandlerInfo* info) const;
+ void GetHandlerInfo(intptr_t try_index, HandlerInfo* info) const;
uword HandlerPCOffset(intptr_t try_index) const;
intptr_t OuterTryIndex(intptr_t try_index) const;
@@ -4516,9 +4515,8 @@ class ExceptionHandlers : public Object {
return 0;
}
static intptr_t InstanceSize(intptr_t len) {
- return RoundedAllocationSize(
- sizeof(RawExceptionHandlers) +
- (len * sizeof(RawExceptionHandlers::HandlerInfo)));
+ return RoundedAllocationSize(sizeof(RawExceptionHandlers) +
+ (len * sizeof(HandlerInfo)));
}
static RawExceptionHandlers* New(intptr_t num_handlers);

Powered by Google App Engine
This is Rietveld 408576698