diff options
Diffstat (limited to 'deps/v8/src/regexp-stack.h')
-rw-r--r-- | deps/v8/src/regexp-stack.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/src/regexp-stack.h b/deps/v8/src/regexp-stack.h index 6c090daa65..99cf33cd32 100644 --- a/deps/v8/src/regexp-stack.h +++ b/deps/v8/src/regexp-stack.h @@ -48,7 +48,7 @@ class RegExpStack { ~RegExpStack(); // Releases the stack if it has grown. // Gives the top of the memory used as stack. - static Address stack_top() { + static Address stack_base() { ASSERT(thread_local_.memory_size_ != 0); return thread_local_.memory_ + thread_local_.memory_size_; } @@ -74,7 +74,7 @@ class RegExpStack { private: // Artificial limit used when no memory has been allocated. - static const uint32_t kMemoryTop = 0xffffffff; + static const uintptr_t kMemoryTop = static_cast<uintptr_t>(-1); // Minimal size of allocated stack area. static const size_t kMinimumStackSize = 1 * KB; |