Commit graph

2 commits

Author SHA1 Message Date
Iain Buclaw
6374bb87b7 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
MoonlightSentinel
5279ba2f96 Fix 21471,21598 - Always create a temporary for calls with checkaction=context
Using a temporary for every expression that calls another function
avoids problems with the inliner and avoids an unexpected secondary
function call for `pure` functions (which might have side effects
in `debug` blocks).

See [bugzilla](https://issues.dlang.org/show_bug.cgi?id=21471) for a
more complete writeup of the inliner issue.
2021-02-01 04:55:40 +01:00