Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::WritableVMIsolateScope Class Reference

#include <heap.h>

Inheritance diagram for dart::WritableVMIsolateScope:
dart::ThreadStackResource

Public Member Functions

 WritableVMIsolateScope (Thread *thread)
 
 ~WritableVMIsolateScope ()
 

Detailed Description

Definition at line 431 of file heap.h.

Constructor & Destructor Documentation

◆ WritableVMIsolateScope()

dart::WritableVMIsolateScope::WritableVMIsolateScope ( Thread thread)
explicit

Definition at line 1160 of file heap.cc.

1162 if (FLAG_write_protect_code && FLAG_write_protect_vm_isolate) {
1164 }
1165}
static IsolateGroup * vm_isolate_group()
Definition: dart.h:69
void WriteProtect(bool read_only)
Definition: heap.cc:698
Heap * heap() const
Definition: isolate.h:296

◆ ~WritableVMIsolateScope()

dart::WritableVMIsolateScope::~WritableVMIsolateScope ( )

Definition at line 1167 of file heap.cc.

1167 {
1168 ASSERT(Dart::vm_isolate_group()->heap()->UsedInWords(Heap::kNew) == 0);
1169 if (FLAG_write_protect_code && FLAG_write_protect_vm_isolate) {
1171 }
1172}
@ kNew
Definition: heap.h:38
#define ASSERT(E)

The documentation for this class was generated from the following files: