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

Unified Diff: runtime/vm/object.h

Issue 2275803002: Assign external sizes to external strings and to external typed data created by the VM. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: . Created 4 years, 4 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 b219ab7c5cdc3cbaee33f1d3eb32ac751c4469fc..06ae3c672c4ef1d903f03c4ce319362ccc5829a6 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -7896,7 +7896,9 @@ class ExternalTypedData : public Instance {
#undef TYPED_GETTER_SETTER
FinalizablePersistentHandle* AddFinalizer(
- void* peer, Dart_WeakPersistentHandleFinalizer callback) const;
+ void* peer,
+ Dart_WeakPersistentHandleFinalizer callback,
+ intptr_t external_size) const;
static intptr_t length_offset() {
return OFFSET_OF(RawExternalTypedData, length_);
« no previous file with comments | « runtime/vm/clustered_snapshot.cc ('k') | runtime/vm/object.cc » ('j') | runtime/vm/object.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698