diff options
author | Ömer Sinan Ağacan <omeragacan@gmail.com> | 2019-08-21 15:32:09 +0300 |
---|---|---|
committer | Ömer Sinan Ağacan <omeragacan@gmail.com> | 2019-08-28 12:51:12 +0300 |
commit | 1c7ec4499ffec5e6b9c97e7a5c8d31062d1e2822 (patch) | |
tree | 1cc732f1ab66b6c5963970b33f816e5bbd998edf /testsuite | |
parent | ee2fad9e503ffdf61a086f721553aa3c502d1cb8 (diff) | |
download | haskell-1c7ec4499ffec5e6b9c97e7a5c8d31062d1e2822.tar.gz |
Return results of Cmm streams in backends
This generalizes code generators (outputAsm, outputLlvm, outputC, and
the call site codeOutput) so that they'll return the return values of
the passed Cmm streams.
This allows accumulating data during Cmm generation and returning it to
the call site in HscMain.
Previously the Cmm streams were assumed to return (), so the code
generators returned () as well.
This change is required by !1304 and !1530.
Skipping CI as this was tested before and I only updated the commit
message.
[skip ci]
Diffstat (limited to 'testsuite')
0 files changed, 0 insertions, 0 deletions