Chromium Code Reviews| Index: runtime/vm/heap.h |
| =================================================================== |
| --- runtime/vm/heap.h (revision 35709) |
| +++ runtime/vm/heap.h (working copy) |
| @@ -156,6 +156,9 @@ |
| // Protect access to the heap. |
| void WriteProtect(bool read_only); |
| + void WriteProtectCode(bool read_only) { |
| + old_space_->WriteProtectCode(read_only); |
| + } |
| // Accessors for inlined allocation in generated code. |
| uword TopAddress(); |