Index: runtime/vm/dart.cc |
=================================================================== |
--- runtime/vm/dart.cc (revision 32487) |
+++ runtime/vm/dart.cc (working copy) |
@@ -132,6 +132,7 @@ |
} |
#endif |
PremarkingVisitor premarker(vm_isolate_); |
+ vm_isolate_->heap()->WriteProtect(false); |
vm_isolate_->heap()->IterateOldObjects(&premarker); |
vm_isolate_->heap()->WriteProtect(true); |
} |