| Index: runtime/vm/dart_api_impl.cc
|
| diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc
|
| index 6da3eaa95f8ce98c9ce4a5799aae3a92c6e8c4f6..bf2041a1632a6ce05e3ef52e04845664ff4669af 100644
|
| --- a/runtime/vm/dart_api_impl.cc
|
| +++ b/runtime/vm/dart_api_impl.cc
|
| @@ -137,8 +137,7 @@ Dart_Handle Api::CheckIsolateState(Isolate* isolate) {
|
| // Class finalization is blocked for the isolate. Do nothing.
|
| return Api::Success();
|
| }
|
| - if (ClassFinalizer::FinalizePendingClasses() &&
|
| - isolate->object_store()->PreallocateObjects()) {
|
| + if (ClassFinalizer::FinalizePendingClasses()) {
|
| return Api::Success();
|
| }
|
| ASSERT(isolate->object_store()->sticky_error() != Object::null());
|
|
|