Index: runtime/vm/heap.h |
=================================================================== |
--- runtime/vm/heap.h (revision 9969) |
+++ runtime/vm/heap.h (working copy) |
@@ -117,6 +117,9 @@ |
// called before any user code is executed. |
void EnableGrowthControl(); |
+ // Protect access to the heap. |
+ void Protect(VirtualMemory::Protection mode); |
+ |
// Accessors for inlined allocation in generated code. |
uword TopAddress(); |
uword EndAddress(); |