Prevent excessive inlining with DPH
authorRoman Leshchinskiy <rl@cse.unsw.edu.au>
Thu, 2 Oct 2008 01:20:55 +0000 (01:20 +0000)
committerRoman Leshchinskiy <rl@cse.unsw.edu.au>
Thu, 2 Oct 2008 01:20:55 +0000 (01:20 +0000)
commit444c62505e1e9790db08322fea8625dedd81d446
tree60e858d053b1acae06cc7b9d36e8d45c84cbd6f5
parent8efc5f209899b6e055c5957cd5efbb820ad596ee
Prevent excessive inlining with DPH

This adds a new flag -finline-if-enough-args which disables inlining for
partially applied functions. It is automatically set by -Odph. This is a
temporary hack and should remain undocumented.

MERGE TO 6.10
compiler/coreSyn/CoreUnfold.lhs
compiler/main/DynFlags.hs