summaryrefslogtreecommitdiff
path: root/compiler/utils/FastFunctions.hs
diff options
context:
space:
mode:
authorVladimir Trubilov <vtrubiloff@gmail.com>2015-12-02 20:47:23 +0100
committerBen Gamari <ben@smart-cactus.org>2015-12-02 21:56:11 +0100
commit8cba907ad404ba4005558b5a8966390159938172 (patch)
tree585bc4a085133b3f0f3fa8609cc88ee25c6e7339 /compiler/utils/FastFunctions.hs
parenta12e47bed74e305b37e68014c52feba3dd075514 (diff)
downloadhaskell-8cba907ad404ba4005558b5a8966390159938172.tar.gz
Create empty dump files when there was nothing to dump
This patch creates empty dump file when GHC was run with `-ddump-rule-firings` (or `-ddump-rule-rewrites`) and `-ddump-to-file` specified, and there were no rules applied. If dump already exists it will be overwritten by empty one. Test Plan: ./validate Reviewers: austin, thomie, bgamari Reviewed By: thomie, bgamari Subscribers: thomie Projects: #ghc Differential Revision: https://phabricator.haskell.org/D1514 GHC Trac Issues: #10320
Diffstat (limited to 'compiler/utils/FastFunctions.hs')
0 files changed, 0 insertions, 0 deletions