| Index: runtime/vm/class_table.cc
|
| diff --git a/runtime/vm/class_table.cc b/runtime/vm/class_table.cc
|
| index 0bf1d1a02f4b62a2d63186b76887a8fefd161b42..c223095feac7357b4c1113e3b4139f73ef88b46a 100644
|
| --- a/runtime/vm/class_table.cc
|
| +++ b/runtime/vm/class_table.cc
|
| @@ -205,7 +205,7 @@ void ClassTable::Unregister(intptr_t index) {
|
| #endif
|
|
|
| void ClassTable::Remap(intptr_t* old_to_new_cid) {
|
| - ASSERT(Thread::Current()->no_safepoint_scope_depth() > 0);
|
| + ASSERT(Thread::Current()->IsAtSafepoint());
|
| intptr_t num_cids = NumCids();
|
| RawClass** cls_by_old_cid = new RawClass*[num_cids];
|
| for (intptr_t i = 0; i < num_cids; i++) {
|
|
|