Index: runtime/vm/intermediate_language_dbc.cc |
diff --git a/runtime/vm/intermediate_language_dbc.cc b/runtime/vm/intermediate_language_dbc.cc |
index ababea8d202001755c9830b5c39135409b721a7e..f75f6497bbf9b2fcfe23506679fa8ae158b4c854 100644 |
--- a/runtime/vm/intermediate_language_dbc.cc |
+++ b/runtime/vm/intermediate_language_dbc.cc |
@@ -418,13 +418,17 @@ EMIT_NATIVE_CODE(LoadStaticField, 1, Location::RequiresRegister()) { |
} |
-EMIT_NATIVE_CODE(InitStaticField, 1) { |
+EMIT_NATIVE_CODE(InitStaticField, |
+ 1, |
+ Location::NoLocation(), |
+ LocationSummary::kCall) { |
if (compiler->is_optimizing()) { |
__ Push(locs()->in(0).reg()); |
__ InitStaticTOS(); |
} else { |
__ InitStaticTOS(); |
} |
+ compiler->RecordAfterCall(this); |
} |