[PATCH] Make thunk this/return adjustment ABI-specific. Also, fix the return adjustment when using -cxx-abi microsoft
timurrrr at google.com
Fri Oct 25 11:38:57 PDT 2013
Can you please review this patch?
The only thing I'm not entirely sure is whether we want to use
a) a union of structs
b) should just duplicate a bunch of code and make the ABI-specific CG interfaces to pass around ABI-specific ThunkInfos.
(b) would likely require cast<>ing in a few places...
(a) sounds easier, so I picked unions :)
I'm planning to use a similar approach with virtual this adjustment in the following patch (that one is a bit more complex), so wanted to come up with a good decision in the simpler half of the whole refactor+fix patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 36781 bytes
Desc: not available
More information about the cfe-commits