| Index: runtime/vm/object.cc
|
| diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
|
| index 98d7b238584f2c48a85d7ce384475d7cf4e99e58..26e4466590c1772af86a7a2c296ca02c8c7492ac 100644
|
| --- a/runtime/vm/object.cc
|
| +++ b/runtime/vm/object.cc
|
| @@ -5282,7 +5282,6 @@ bool Function::HasCode() const {
|
|
|
| void Function::ClearCode() const {
|
| ASSERT(Thread::Current()->IsMutatorThread());
|
| - ASSERT((usage_counter() != 0) || (ic_data_array() == Array::null()));
|
| StorePointer(&raw_ptr()->unoptimized_code_, Code::null());
|
| SetInstructions(Code::Handle(StubCode::LazyCompile_entry()->code()));
|
| }
|
|
|