Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
dart::AssertNoDeoptIdsAllocatedScope Class Reference

#include <compiler_state.h>

Inheritance diagram for dart::AssertNoDeoptIdsAllocatedScope:
dart::ThreadStackResource dart::StackResource

Public Member Functions

 AssertNoDeoptIdsAllocatedScope (Thread *thread)
 
 ~AssertNoDeoptIdsAllocatedScope ()
 
- 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

Ensures that there were no deopt id allocations during the lifetime of this object.

Definition at line 198 of file compiler_state.h.

Constructor & Destructor Documentation

◆ AssertNoDeoptIdsAllocatedScope()

dart::AssertNoDeoptIdsAllocatedScope::AssertNoDeoptIdsAllocatedScope ( Thread thread)
inlineexplicit

Definition at line 200 of file compiler_state.h.

202 prev_deopt_id_(thread->compiler_state().deopt_id()) {}
intptr_t deopt_id() const
CompilerState & compiler_state()
Definition thread.h:583

◆ ~AssertNoDeoptIdsAllocatedScope()

dart::AssertNoDeoptIdsAllocatedScope::~AssertNoDeoptIdsAllocatedScope ( )
inline

Definition at line 204 of file compiler_state.h.

204 {
205 ASSERT(thread()->compiler_state().deopt_id() == prev_deopt_id_);
206 }
#define ASSERT(E)

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