Index: runtime/vm/precompiler.cc |
diff --git a/runtime/vm/precompiler.cc b/runtime/vm/precompiler.cc |
index 8b2ab1340ec1ca5139725e1e01de19e739015812..a4297ba7d81bd44830007f6f40e4881eff4dbdf5 100644 |
--- a/runtime/vm/precompiler.cc |
+++ b/runtime/vm/precompiler.cc |
@@ -1221,7 +1221,7 @@ RawFunction* Precompiler::CompileStaticInitializer(const Field& field, |
ParsedFunction* parsed_function; |
// Check if this field is coming from the Kernel binary. |
- if (field.kernel_field() != NULL) { |
+ if (field.kernel_offset() > 0) { |
parsed_function = kernel::ParseStaticFieldInitializer(zone, field); |
} else { |
parsed_function = Parser::ParseStaticFieldInitializer(field); |