Displaying 1 result from an estimated 1 matches for "guaranteedtail".
2014 Apr 01
2
[LLVMdev] Proposal: Add a guaranteed tail call marker
...32 Microsoft C++ ABI, I cannot simply forward the arguments to the callee
without calling the copy constructor. If I can use a guaranteed tail call,
I don't have to emit copy constructor calls, and things are much easier.
Currently, in order to get guaranteed TCO, frontends have to enable the
GuaranteedTailCall codegen option and obey a narrow set of rules, which
includes always using fastcc. This is fairly awkward and doesn't solve my
use case, since the ABI requires a particular convention.
Instead, I propose that we add a new tail call marker, 'musttail', that
guarantees that TCO will...