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

#include <compiler_state.h>

Inheritance diagram for dart::DeoptIdScope:
dart::ThreadStackResource dart::StackResource

Public Member Functions

 DeoptIdScope (Thread *thread, intptr_t deopt_id)
 
 ~DeoptIdScope ()
 
- Public Member Functions inherited from dart::ThreadStackResource
 ThreadStackResource (Thread *T)
 
 ~ThreadStackResource ()
 
Threadthread () const
 
Isolateisolate () const
 
IsolateGroupisolate_group () const
 
- Public Member Functions inherited from dart::StackResource
 StackResource (ThreadState *thread)
 
virtual ~StackResource ()
 
ThreadStatethread () const
 

Additional Inherited Members

- Static Public Member Functions inherited from dart::StackResource
static void Unwind (ThreadState *thread)
 
static void UnwindAbove (ThreadState *thread, StackResource *new_top)
 

Detailed Description

Definition at line 180 of file compiler_state.h.

Constructor & Destructor Documentation

◆ DeoptIdScope()

dart::DeoptIdScope::DeoptIdScope ( Thread thread,
intptr_t  deopt_id 
)
inline

Definition at line 182 of file compiler_state.h.

184 prev_deopt_id_(thread->compiler_state().deopt_id()) {
186 }
intptr_t deopt_id() const
void set_deopt_id(int value)
CompilerState & compiler_state()
Definition: thread.h:588

◆ ~DeoptIdScope()

dart::DeoptIdScope::~DeoptIdScope ( )
inline

Definition at line 188 of file compiler_state.h.

188{ thread()->compiler_state().set_deopt_id(prev_deopt_id_); }

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