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

Unified Diff: runtime/vm/object.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
Index: runtime/vm/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index 89901f7948cbf3f342b6d6705a10dc62dad46a06..6d73f54ad7a5339115d7d0dac37ccdf894ee0792 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);
« runtime/vm/exceptions.h ('K') | « runtime/vm/isolate.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698