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

Unified Diff: runtime/vm/clustered_snapshot.cc

Issue 2683633005: Add exception handler cache to isolate (Closed)
Patch Set: Add exception handler cache to isolate 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 | « no previous file | runtime/vm/code_generator.cc » ('j') | runtime/vm/fixed_cache.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/clustered_snapshot.cc
diff --git a/runtime/vm/clustered_snapshot.cc b/runtime/vm/clustered_snapshot.cc
index 162df5aba3a525e12cbdd3af297aad8795c69983..ea87c49587eb14538e6f998a9cc57475e2589a0d 100644
--- a/runtime/vm/clustered_snapshot.cc
+++ b/runtime/vm/clustered_snapshot.cc
@@ -1982,8 +1982,7 @@ class ExceptionHandlersSerializationCluster : public SerializationCluster {
s->WriteRef(handlers->ptr()->handled_types_data_);
uint8_t* data = reinterpret_cast<uint8_t*>(handlers->ptr()->data());
- intptr_t length_in_bytes =
- length * sizeof(RawExceptionHandlers::HandlerInfo);
+ intptr_t length_in_bytes = length * sizeof(HandlerInfo);
s->WriteBytes(data, length_in_bytes);
}
}
@@ -2026,8 +2025,7 @@ class ExceptionHandlersDeserializationCluster : public DeserializationCluster {
reinterpret_cast<RawArray*>(d->ReadRef());
uint8_t* data = reinterpret_cast<uint8_t*>(handlers->ptr()->data());
- intptr_t length_in_bytes =
- length * sizeof(RawExceptionHandlers::HandlerInfo);
+ intptr_t length_in_bytes = length * sizeof(HandlerInfo);
d->ReadBytes(data, length_in_bytes);
}
}
« no previous file with comments | « no previous file | runtime/vm/code_generator.cc » ('j') | runtime/vm/fixed_cache.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698