Index: runtime/vm/object.cc |
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc |
index efa41b723b7f6737a137b8a417bc987f18df6d7c..6f45025c3084e7eee3207ff215d55b36c0bbbae0 100644 |
--- a/runtime/vm/object.cc |
+++ b/runtime/vm/object.cc |
@@ -14563,7 +14563,7 @@ RawStackmap* Code::GetStackmap( |
return map->raw(); // We found a stack map for this frame. |
} |
} |
- ASSERT(!is_optimized()); |
+ ASSERT(!is_optimized() || (pc_offset == Instructions::kUncheckedEntryOffset)); |
return Stackmap::null(); |
} |