Commit graph

4 commits

Author SHA1 Message Date
Johan Engelen
55a8097736 Only enable cross-module inlining when explicitly set on the commandline.
In particular, this disables cross-module inlining of `pragma(inline, true)` functions.
2016-09-04 11:38:12 +02:00
David Nadlinger
f5e705655a gen: Make MoreThanXStatements single-arg constructor explicit [nfc] 2016-09-03 14:38:10 +01:00
Johan Engelen
e6a18b2657 Disable cross-module inlining of __invariant.
Resolves #1678.
2016-08-14 00:31:09 +02:00
Johan Engelen
f2c3ed4cce Separate inlining-heuristic code into its own file. Implement a simple statement-counting inlining heuristic. 2016-07-02 17:08:48 +02:00