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

Unified Diff: runtime/vm/precompiler.h

Issue 1973553003: VM precompiler: Compute and use result type of static initializers of final fields. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: rebased Created 4 years, 7 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/precompiler.h
diff --git a/runtime/vm/precompiler.h b/runtime/vm/precompiler.h
index d18a9fae29adb1ef8787af39a681ce4560023f4a..f9b4f1c49813a12eea89fa54dbfc40500c669642 100644
--- a/runtime/vm/precompiler.h
+++ b/runtime/vm/precompiler.h
@@ -274,7 +274,8 @@ class Precompiler : public ValueObject {
Precompiler(Thread* thread, bool reset_fields);
- static RawFunction* CompileStaticInitializer(const Field& field);
+ static RawFunction* CompileStaticInitializer(const Field& field,
+ bool compute_type);
void DoCompileAll(Dart_QualifiedFunctionName embedder_entry_points[]);
void ClearAllCode();

Powered by Google App Engine
This is Rietveld 408576698