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

Unified Diff: runtime/vm/compiler.h

Issue 1433243003: Background compilation work: (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: d Created 5 years, 1 month 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/code_generator.cc ('k') | runtime/vm/compiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/compiler.h
diff --git a/runtime/vm/compiler.h b/runtime/vm/compiler.h
index b73687cd5bcec2a23e313805789bef9cb7e37a40..0fbdd583baaeb597f3834315dbc1212ab86709fc 100644
--- a/runtime/vm/compiler.h
+++ b/runtime/vm/compiler.h
@@ -44,6 +44,16 @@ class BackgroundCompilationResult : public ValueObject {
void SetFromQElement(QueueElement* value);
+ void SetLeafClasses(const GrowableArray<Class*>& leaf_classes);
+ void SetGuardedFields(const ZoneGrowableArray<const Field*>& guarded_fields);
+ void SetDeoptimizeDependentFields(const GrowableArray<const Field*>& fields);
+
+ const Array& leaf_classes() const { return leaf_classes_; }
+ const Array& guarded_fields() const { return guarded_fields_; }
+ const Array& deoptimize_dependent_fields() const {
+ return deoptimize_dependent_fields_;
+ }
+
// Returns true if all relevant gen-counts are current and code is valid.
bool IsValid() const;
@@ -62,6 +72,9 @@ class BackgroundCompilationResult : public ValueObject {
private:
Code& result_code_;
+ Array& leaf_classes_;
+ Array& guarded_fields_;
+ Array& deoptimize_dependent_fields_;
uint32_t cha_invalidation_gen_;
uint32_t field_invalidation_gen_;
uint32_t prefix_invalidation_gen_;
« no previous file with comments | « runtime/vm/code_generator.cc ('k') | runtime/vm/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698