#include <allocation.h>
Definition at line 23 of file allocation.h.
◆ StackResource()
dart::StackResource::StackResource |
( |
ThreadState * |
thread | ) |
|
|
inlineexplicit |
Definition at line 25 of file allocation.h.
26 : thread_(nullptr), previous_(nullptr) {
28 }
ThreadState * thread() const
◆ ~StackResource()
dart::StackResource::~StackResource |
( |
| ) |
|
|
virtual |
Definition at line 30 of file allocation.cc.
30 {
31 if (thread_ != nullptr) {
35 }
36#if defined(DEBUG)
37 if (thread_ != nullptr) {
39 }
40#endif
41}
StackResource(ThreadState *thread)
void set_top_resource(StackResource *value)
StackResource * top_resource() const
static Thread * Current()
◆ thread()
◆ Unwind()
static void dart::StackResource::Unwind |
( |
ThreadState * |
thread | ) |
|
|
inlinestatic |
Definition at line 36 of file allocation.h.
static void UnwindAbove(ThreadState *thread, StackResource *new_top)
◆ UnwindAbove()
Definition at line 56 of file allocation.cc.
56 {
58 while (current_resource != new_top) {
61 }
62}
The documentation for this class was generated from the following files: