Bug 1877642 - Disable browser_fullscreen-tab-close-race.js on apple_silicon !debug...
[gecko.git] / js / src / js-config.mozbuild
blob06d1357805f9b2fe47aef3a7c836a767c34a9ec6
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 # Some huge-mapping optimization instead of bounds checks on supported
8 # platforms.
9 if (
10     CONFIG["JS_CODEGEN_X64"]
11     or CONFIG["JS_CODEGEN_ARM64"]
12     or CONFIG["JS_CODEGEN_RISCV64"]
14     DEFINES["WASM_SUPPORTS_HUGE_MEMORY"] = True
16 # Enables CACHEIR_LOGS to diagnose IC coverage, and
17 # Structured spewer for diagnostics
18 if CONFIG["MOZ_DEBUG"] or CONFIG["NIGHTLY_BUILD"]:
19     DEFINES["JS_CACHEIR_SPEW"] = True
20     DEFINES["JS_STRUCTURED_SPEW"] = True
22 # CTypes
23 if CONFIG["JS_HAS_CTYPES"]:
24     DEFINES["JS_HAS_CTYPES"] = True
25     if not CONFIG["MOZ_SYSTEM_FFI"]:
26         DEFINES["FFI_BUILDING"] = True