Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Decorate thunk target calls as tail-calls (=> jumps)
I noticed that the C++ thunks would adjust the `this` pointer and then jump directly to the actual target function. The D thunks (on Linux, verified by disassembling) on the other hand performed a regular call + return. Requesting tail-calls here leads to direct jumps for D thunks as well, improving performance when calling virtual functions via interfaces.
- Loading branch information