Issue #1676 - Part 17: Put remaining source files which have debug code ifdef'd behind MOZ_DEBUG

This commit is contained in:
Matt A. Tobin 2020-11-04 14:38:12 -05:00 committed by roytam1
commit fc371224e1
2 changed files with 6 additions and 2 deletions

View file

@ -24,6 +24,8 @@ SOURCES += [
'Statistics.cpp',
'StoreBuffer.cpp',
'Tracer.cpp',
'Verifier.cpp',
'Zone.cpp',
]
if CONFIG['MOZ_DEBUG']:
SOURCES += ['Verifier.cpp']

View file

@ -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'