#include <handles.h>
Definition at line 304 of file handles.h.
◆ HandleScope()
Definition at line 85 of file handles.cc.
86 Initialize();
87}
ThreadState * thread() const
StackResource(ThreadState *thread)
◆ ~HandleScope()
dart::HandleScope::~HandleScope |
( |
| ) |
|
Definition at line 89 of file handles.cc.
89 {
92 ASSERT(handles !=
nullptr);
93#if defined(DEBUG)
94 VMHandles::HandlesBlock* last = handles->scoped_blocks_;
95#endif
96 handles->scoped_blocks_ = saved_handle_block_;
97 handles->scoped_blocks_->set_next_handle_slot(saved_handle_slot_);
98#if defined(DEBUG)
99 VMHandles::HandlesBlock* block = handles->scoped_blocks_;
100 for (;;) {
101 block->ZapFreeHandles();
102 if (block == last) break;
103 block = block->next_block();
104 }
107#endif
108}
void set_top_handle_scope(HandleScope *handle_scope)
The documentation for this class was generated from the following files: