Commit graph

9 commits

Author SHA1 Message Date
Martin Kinkelin
40a82cd5e4 Don't exclude functions in object.d from cross-module inlining
Resolves #1604. I had no issues compiling druntime and Phobos with
`-DD_FLAGS_RELEASE='-O3;-release;-enable-cross-module-inlining'`.
2019-03-06 23:06:18 +01:00
Martin Kinkelin
0b255da8d7 Re-enable cross-module-inlining for pragma(inline, true)
At -O0 already, resolving #2552.
2019-03-06 23:05:52 +01:00
Martin Kinkelin
4a23399236 Aim for consistent #includes (order + dir prefix)
I surely missed a few.
2018-10-20 16:19:46 +02:00
Martin Kinkelin
7776c4081b Upgrade frontend & libs to v2.083.0-beta.1 2018-10-20 16:19:46 +02:00
Martin
1fb269f940 Drop support for LLVM < 3.7 2017-07-16 02:18:00 +02:00
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