Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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 436 of file heap.h.

Constructor & Destructor Documentation

◆ WritableCodePages()

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

Definition at line 1163 of file heap.cc.

1165 : StackResource(thread), isolate_group_(isolate_group) {
1166 isolate_group_->heap()->WriteProtectCode(false);
1167}
void WriteProtectCode(bool read_only)
Definition heap.h:127
Heap * heap() const
Definition isolate.h:295
ThreadState * thread() const
Definition allocation.h:33

◆ ~WritableCodePages()

dart::WritableCodePages::~WritableCodePages ( )

Definition at line 1169 of file heap.cc.

1169 {
1170 isolate_group_->heap()->WriteProtectCode(true);
1171}

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