summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T17394.hs
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2022-08-12 13:50:30 +0100
committerMatthew Pickering <matthewtpickering@gmail.com>2022-10-01 18:16:22 +0100
commit813e95d3477e16b1537f8941d4e007b2339c4da4 (patch)
treef7912a4213b2406adeed6e33335342a7e2ab9830 /testsuite/tests/th/T17394.hs
parent45dbb86ed14d3c317837552b1fa1836ba2fe6cde (diff)
downloadhaskell-wip/ghc-fat-interface.tar.gz
Teach -fno-code about -fprefer-byte-codewip/ghc-fat-interface
This patch teachs the code generation logic of -fno-code about -fprefer-byte-code, so that if we need to generate code for a module which prefers byte code, then we generate byte code rather than object code. We keep track separately which modules need object code and which byte code and then enable the relevant code generation for each. Typically the option will be enabled globally so one of these sets should be empty and we will just turn on byte code or object code generation. We also fix the bug where we would generate code for a module which enables Template Haskell despite the fact it was unecessary. Fixes #22016
Diffstat (limited to 'testsuite/tests/th/T17394.hs')
0 files changed, 0 insertions, 0 deletions