MSVC: Port Rainer's upstream extern(C++) method ABI fixes

From https://github.com/dlang/dmd/pull/8330.
This commit is contained in:
Martin Kinkelin 2018-06-04 23:57:24 +02:00
parent 3ca43c51b8
commit a133ffad56
21 changed files with 70 additions and 50 deletions

View file

@ -268,6 +268,6 @@ Expression *Target::paintAsType(Expression *e, Type *type) {
*/
void Target::loadModule(Module *m) {}
bool Target::isReturnOnStack(TypeFunction *tf) {
return gABI->returnInArg(tf);
bool Target::isReturnOnStack(TypeFunction *tf, bool needsThis) {
return gABI->returnInArg(tf, needsThis);
}