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

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: code-review-comments 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
« no previous file with comments | « runtime/vm/dart_entry.h ('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 94daedff914a8dc03ff77e9f40f48b1a83153bcf..311271e4cfd96207d38944367dcd09607e0da092 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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698