Chromium Code Reviews| Index: runtime/vm/unit_test.cc |
| =================================================================== |
| --- runtime/vm/unit_test.cc (revision 6416) |
| +++ runtime/vm/unit_test.cc (working copy) |
| @@ -194,6 +194,7 @@ |
| bool CompilerTest::TestCompileFunction(const Function& function) { |
| Isolate* isolate = Isolate::Current(); |
| ASSERT(isolate != NULL); |
| + ASSERT(ClassFinalizer::AllClassesFinalized()); |
| const Error& error = Error::Handle(Compiler::CompileFunction(function)); |
| return error.IsNull(); |
| } |