Index: runtime/vm/code_generator.cc |
=================================================================== |
--- runtime/vm/code_generator.cc (revision 39381) |
+++ runtime/vm/code_generator.cc (working copy) |
@@ -1551,4 +1551,10 @@ |
field.RecordStore(value); |
} |
+ |
+DEFINE_RUNTIME_ENTRY(InitStaticField, 1) { |
+ const Field& field = Field::CheckedHandle(arguments.ArgAt(0)); |
+ field.EvaluateInitializer(); |
+} |
+ |
} // namespace dart |