| Index: runtime/vm/compiler.cc
|
| diff --git a/runtime/vm/compiler.cc b/runtime/vm/compiler.cc
|
| index 87ca181198a8e4569450492c795f6c5a8a804080..9ca67403178c943f71302323fffec89fa3735ae9 100644
|
| --- a/runtime/vm/compiler.cc
|
| +++ b/runtime/vm/compiler.cc
|
| @@ -1288,13 +1288,12 @@ RawError* Compiler::CompileAllFunctions(const Class& cls) {
|
|
|
| void Compiler::CompileStaticInitializer(const Field& field) {
|
| ASSERT(field.is_static());
|
| - if (field.PrecompiledInitializer() != Function::null()) {
|
| + if (field.HasPrecompiledInitializer()) {
|
| // TODO(rmacnak): Investigate why this happens for _enum_names.
|
| OS::Print("Warning: Ignoring repeated request for initializer for %s\n",
|
| field.ToCString());
|
| return;
|
| }
|
| - ASSERT(field.PrecompiledInitializer() == Function::null());
|
| Thread* thread = Thread::Current();
|
| StackZone zone(thread);
|
|
|
|
|