Index: runtime/vm/object.cc |
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc |
index 97e721cdd31211f4566f7062a397881024ab1421..7824a5f33000bf13addbd4d35caaae75e54e4dad 100644 |
--- a/runtime/vm/object.cc |
+++ b/runtime/vm/object.cc |
@@ -912,9 +912,12 @@ class PremarkingVisitor : public ObjectVisitor { |
if (!obj->IsFreeListElement()) { |
ASSERT(obj->IsVMHeapObject()); |
if (obj->IsMarked()) { |
- // Precompiled instructions are loaded pre-marked. |
+ // Precompiled objects are loaded pre-marked. |
ASSERT(Dart::IsRunningPrecompiledCode()); |
- ASSERT(obj->IsInstructions()); |
+ ASSERT(obj->IsInstructions() || |
+ obj->IsPcDescriptors() || |
+ obj->IsStackmap() || |
+ obj->IsOneByteString()); |
} else { |
obj->SetMarkBitUnsynchronized(); |
} |