limepoutine

Results 10 comments of limepoutine

Ouch, I didn't expect Windows needs `fixArgumentEvaluationOrder` on delegates. Maybe as well revert that.

Does that mean hdrgen should also be able to generate contract bodies? Fixing hdrgen is much more daunting to me.

This sets `fd.vresult.nrvo = true` so that all generated contract delegates actually references the hidden pointer, instead of a copy of the returned object. Yes, this is very confusing and...

This is technically ready, but I am trying to find a less hackish way to solve RVO madness. Will ping after a few days if this is the best thing...

Are you using master? I've recently touched too many parts of the inliner so it's likely a bug. If you are using master and don't mind rebuilding DMD, can you...

Just ran into this. The root cause is `brtailrecursion` eliding stack frame of `findSelections`, which causes `dir` to overlap with `x`.

Hey, you wrote the original code, I expected there to be some story around this. It rearranges basic blocks to reduce jumps. For example, a catch block in the middle...

Added a completely nonsensical cost model to prevent pathological cases. Anyone has better ideas?

As a former lisp programmer I was personally expecting `setf` semantics here i.e. each branch keeps its own ref-ness. I'm rewriting NRVO code in this vein to comply with C++...

That's right. Dunno if the community thinks the fix's worth the effort.