28 #ifndef V8_REGEXP_STACK_H_
29 #define V8_REGEXP_STACK_H_
67 ASSERT(thread_local_.memory_size_ != 0);
68 return thread_local_.memory_ + thread_local_.memory_size_;
87 return static_cast<int>(
sizeof(ThreadLocal));
98 static const uintptr_t kMemoryTop =
static_cast<uintptr_t
>(-1);
101 static const size_t kMinimumStackSize = 1 *
KB;
104 static const size_t kMaximumStackSize = 64 *
MB;
108 ThreadLocal() { Clear(); }
116 limit_ =
reinterpret_cast<Address>(kMemoryTop);
123 return reinterpret_cast<Address>(&thread_local_.memory_);
127 Address memory_size_address() {
128 return reinterpret_cast<Address>(&thread_local_.memory_size_);
136 ThreadLocal thread_local_;
148 #endif // V8_REGEXP_STACK_H_
enable upcoming ES6 features enable harmony block scoping enable harmony enable harmony proxies enable harmony generators enable harmony numeric enable harmony string enable harmony math functions harmony_scoping harmony_symbols harmony_collections harmony_iteration harmony_strings harmony_scoping harmony_maths tracks arrays with only smi values Optimize object Array DOM strings and string pretenure call new trace pretenuring decisions of HAllocate instructions track fields with only smi values track fields with heap values track_fields track_fields Enables optimizations which favor memory size over execution speed use string slices optimization filter maximum number of GVN fix point iterations use function inlining use allocation folding eliminate write barriers targeting allocations in optimized code maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining crankshaft harvests type feedback from stub cache trace check elimination phase hydrogen tracing filter NULL
Address EnsureCapacity(size_t size)
static int ArchiveSpacePerThread()
void FreeThreadResources()
#define ASSERT(condition)
RegExpStack * stack() const
RegExpStackScope(Isolate *isolate)
friend class ExternalReference
enable upcoming ES6 features enable harmony block scoping enable harmony enable harmony proxies enable harmony generators enable harmony numeric enable harmony string enable harmony math functions harmony_scoping harmony_symbols harmony_collections harmony_iteration harmony_strings harmony_scoping harmony_maths tracks arrays with only smi values Optimize object size
char * ArchiveStack(char *to)
char * RestoreStack(char *from)
#define DISALLOW_COPY_AND_ASSIGN(TypeName)
Address * limit_address()
static const int kStackLimitSlack