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

#include <thread.h>

Inheritance diagram for dart::RuntimeCallDeoptScope:
dart::StackResource

Public Member Functions

 RuntimeCallDeoptScope (Thread *thread, RuntimeCallDeoptAbility kind)
 
virtual ~RuntimeCallDeoptScope ()
 
- 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 1501 of file thread.h.

Constructor & Destructor Documentation

◆ RuntimeCallDeoptScope()

dart::RuntimeCallDeoptScope::RuntimeCallDeoptScope ( Thread thread,
RuntimeCallDeoptAbility  kind 
)
inline

Definition at line 1503 of file thread.h.

1504 : StackResource(thread) {
1505 // We cannot have nested calls into the VM without deopt support.
1506 ASSERT(thread->runtime_call_deopt_ability_ ==
1508 thread->runtime_call_deopt_ability_ = kind;
1509 }
StackResource(ThreadState *thread)
Definition: allocation.h:25
#define ASSERT(E)

◆ ~RuntimeCallDeoptScope()

virtual dart::RuntimeCallDeoptScope::~RuntimeCallDeoptScope ( )
inlinevirtual

Definition at line 1510 of file thread.h.

1510 {
1511 thread()->runtime_call_deopt_ability_ =
1513 }

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