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

Unified Diff: runtime/vm/object.h

Issue 1337083004: - Turn on writing of ic_data_array so that we have that information for script snapshots that would… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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 ec7fb5da6238908563e7e8446394655eba3449da..88960123bf72e38d264a50756ef75d316a1ac814 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -1751,6 +1751,10 @@ class PatchClass : public Object {
static intptr_t InstanceSize() {
return RoundedAllocationSize(sizeof(RawPatchClass));
}
+ static bool IsInFullSnapshot(RawPatchClass* cls) {
+ NoSafepointScope no_safepoint;
+ return Class::IsInFullSnapshot(cls->ptr()->patched_class_);
+ }
static RawPatchClass* New(const Class& patched_class,
const Class& source_class);
« no previous file with comments | « runtime/vm/dart_entry.h ('k') | runtime/vm/object.cc » ('j') | runtime/vm/raw_object_snapshot.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698