Definition at line 140 of file regexp_interpreter.cc.
◆ BacktrackStack()
dart::BacktrackStack::BacktrackStack |
( |
| ) |
|
|
inline |
Definition at line 142 of file regexp_interpreter.cc.
142 {
144
145
146
147
148
149 if (memory_ == nullptr) {
150 const bool executable = false;
151 const bool compressed = false;
155 size_in_bytes, executable, compressed, "regexp-backtrack-stack"));
156 }
157 }
static Isolate * Current()
std::unique_ptr< VirtualMemory > TakeRegexpBacktrackStack()
static constexpr T RoundUp(T x, uintptr_t alignment, uintptr_t offset=0)
static intptr_t PageSize()
static VirtualMemory * Allocate(intptr_t size, bool is_executable, bool is_compressed, const char *name)
◆ ~BacktrackStack()
dart::BacktrackStack::~BacktrackStack |
( |
| ) |
|
|
inline |
Definition at line 159 of file regexp_interpreter.cc.
159 {
160 if (memory_ != nullptr) {
162 }
163 }
void CacheRegexpBacktrackStack(std::unique_ptr< VirtualMemory > stack)
◆ data()
int32_t * dart::BacktrackStack::data |
( |
| ) |
const |
|
inline |
Definition at line 167 of file regexp_interpreter.cc.
167 {
168 return reinterpret_cast<int32_t*>(memory_->address());
169 }
◆ max_size()
intptr_t dart::BacktrackStack::max_size |
( |
| ) |
const |
|
inline |
◆ out_of_memory()
bool dart::BacktrackStack::out_of_memory |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: