tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 683ff1c5684b7bfce9aec2f0c9b1f41699962897
parent 9a33ed7ea35b091f4eef8f302a353d7e9742881d
Author: André Bargull <andre.bargull@gmail.com>
Date:   Wed, 29 Oct 2025 09:09:12 +0000

Bug 1996194: Increase frame padding for code coverage builds. r=iain

Increase the frame padding to avoid intermittent failures for Windows code
coverage builds.

Differential Revision: https://phabricator.services.mozilla.com/D270201

Diffstat:
Mjs/src/irregexp/RegExpAPI.cpp | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/js/src/irregexp/RegExpAPI.cpp b/js/src/irregexp/RegExpAPI.cpp @@ -493,10 +493,10 @@ class RegExpDepthCheck final : public v8::internal::RegExpVisitor { // This size is picked to be comfortably larger than any // RegExp*::ToNode stack frame. -#ifndef DEBUG +#if !defined(DEBUG) && !defined(MOZ_CODE_COVERAGE) static const size_t FRAME_PADDING = 256; #else - // Use a slightly larger padding for debug builds. + // Use a slightly larger padding for debug and code coverage builds. static const size_t FRAME_PADDING = 256 * 2; #endif };