diff options
Diffstat (limited to 'deps/v8/src/regexp-stack.h')
-rw-r--r-- | deps/v8/src/regexp-stack.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/deps/v8/src/regexp-stack.h b/deps/v8/src/regexp-stack.h index 319ab2894c..fbaa6fbb51 100644 --- a/deps/v8/src/regexp-stack.h +++ b/deps/v8/src/regexp-stack.h @@ -68,7 +68,9 @@ class RegExpStack { static Address EnsureCapacity(size_t size); // Thread local archiving. - static size_t ArchiveSpacePerThread() { return sizeof(thread_local_); } + static int ArchiveSpacePerThread() { + return static_cast<int>(sizeof(thread_local_)); + } static char* ArchiveStack(char* to); static char* RestoreStack(char* from); static void FreeThreadResources() { thread_local_.Free(); } |