mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-14 15:16:07 +03:00
MSVC: Port Rainer's upstream extern(C++) method ABI fixes
From https://github.com/dlang/dmd/pull/8330.
This commit is contained in:
parent
3ca43c51b8
commit
a133ffad56
21 changed files with 70 additions and 50 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue