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

Constructor & Destructor Documentation

◆ RuntimeCallDeoptScope()

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

Definition at line 1481 of file thread.h.

1482 : StackResource(thread) {
1483 // We cannot have nested calls into the VM without deopt support.
1484 ASSERT(thread->runtime_call_deopt_ability_ ==
1486 thread->runtime_call_deopt_ability_ = kind;
1487 }
StackResource(ThreadState *thread)
Definition allocation.h:25
#define ASSERT(E)

◆ ~RuntimeCallDeoptScope()

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

Definition at line 1488 of file thread.h.

1488 {
1489 thread()->runtime_call_deopt_ability_ =
1491 }

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