| Index: runtime/vm/code_generator.cc
|
| diff --git a/runtime/vm/code_generator.cc b/runtime/vm/code_generator.cc
|
| index f844cea3fb3d67f9f22daf7397b68a000f125181..030678cbf6185c487530516b7e7d51da71664e11 100644
|
| --- a/runtime/vm/code_generator.cc
|
| +++ b/runtime/vm/code_generator.cc
|
| @@ -1542,7 +1542,7 @@ DEFINE_RUNTIME_ENTRY(FixAllocationStubTarget, 0) {
|
| Code& alloc_stub = Code::Handle(isolate, alloc_class.allocation_stub());
|
| if (alloc_stub.IsNull()) {
|
| alloc_stub = StubCode::GetAllocationStubForClass(alloc_class);
|
| - ASSERT(!CodePatcher::IsEntryPatched(alloc_stub));
|
| + ASSERT(!alloc_stub.IsDisabled());
|
| }
|
| CodePatcher::PatchStaticCallAt(frame->pc(),
|
| caller_code,
|
|
|