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

#include <heap.h>

Inheritance diagram for dart::WritableCodePages:
dart::StackResource

Public Member Functions

 WritableCodePages (Thread *thread, IsolateGroup *isolate_group)
 
 ~WritableCodePages ()
 

Detailed Description

Definition at line 437 of file heap.h.

Constructor & Destructor Documentation

◆ WritableCodePages()

dart::WritableCodePages::WritableCodePages ( Thread thread,
IsolateGroup isolate_group 
)

Definition at line 1174 of file heap.cc.

1176 : StackResource(thread), isolate_group_(isolate_group) {
1177 isolate_group_->heap()->WriteProtectCode(false);
1178}
void WriteProtectCode(bool read_only)
Definition: heap.h:127
Heap * heap() const
Definition: isolate.h:296
ThreadState * thread() const
Definition: allocation.h:33
StackResource(ThreadState *thread)
Definition: allocation.h:25

◆ ~WritableCodePages()

dart::WritableCodePages::~WritableCodePages ( )

Definition at line 1180 of file heap.cc.

1180 {
1181 isolate_group_->heap()->WriteProtectCode(true);
1182}

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