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

Unified Diff: runtime/vm/object.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/isolate.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index 89901f7948cbf3f342b6d6705a10dc62dad46a06..0d524365404b926dc224bd648b323d3b8fabbff4 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, ExceptionHandlerInfo* 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(ExceptionHandlerInfo)));
}
static RawExceptionHandlers* New(intptr_t num_handlers);
« no previous file with comments | « runtime/vm/isolate.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698