diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-11-04 14:38:12 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2020-11-04 14:38:12 -0500 |
commit | a327217c910c3ecd0331407ca1405016d4156894 (patch) | |
tree | 4d6bd33c143cc584b9f0b4b9f11d482303e8a8fd /js/src | |
parent | 72c5677166133c733b32e965b6358a2201f68bef (diff) | |
download | aura-central-a327217c910c3ecd0331407ca1405016d4156894.tar.gz |
Issue mcp-graveyard/UXP%1676 - Part 17: Put remaining source files which have debug code ifdef'd behind MOZ_DEBUG
Diffstat (limited to 'js/src')
-rw-r--r-- | js/src/gc/moz.build | 4 | ||||
-rw-r--r-- | js/src/jit/moz.build | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/js/src/gc/moz.build b/js/src/gc/moz.build index 8f3188cf1..d33dfb007 100644 --- a/js/src/gc/moz.build +++ b/js/src/gc/moz.build @@ -24,6 +24,8 @@ SOURCES += [ 'Statistics.cpp', 'StoreBuffer.cpp', 'Tracer.cpp', - 'Verifier.cpp', 'Zone.cpp', ] + +if CONFIG['MOZ_DEBUG']: + SOURCES += ['Verifier.cpp'] diff --git a/js/src/jit/moz.build b/js/src/jit/moz.build index bcd9b7dbf..0c6c4f3b8 100644 --- a/js/src/jit/moz.build +++ b/js/src/jit/moz.build @@ -32,7 +32,6 @@ SOURCES += [ 'CacheIR.cpp', 'CodeGenerator.cpp', 'CompileWrappers.cpp', - 'Disassembler.cpp', 'EagerSimdUnbox.cpp', 'EdgeCaseAnalysis.cpp', 'EffectiveAddressAnalysis.cpp', @@ -83,6 +82,9 @@ SOURCES += [ 'WasmBCE.cpp', ] +if CONFIG['MOZ_DEBUG']: + SOURCES += ['Disassembler.cpp'] + if not CONFIG['ENABLE_ION']: SOURCES += [ 'none/Trampoline-none.cpp' |