Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix Issue 15644 - Switch object layout ABI to MI style #5397

Merged
merged 1 commit into from Feb 4, 2016

Conversation

WalterBright
Copy link
Member

https://issues.dlang.org/show_bug.cgi?id=15644

C++ MI style lays out objects left-to-right, top-to-bottom. This switches to this style.

This is a binary ABI change, and will require recompilation of code with interfaces.

Will follow up with a change to the D ABI spec.

@dlang-bot
Copy link
Contributor

Fix Bugzilla Description
15644 Change object layout ABI to MI style

@WalterBright
Copy link
Member Author

The reason for this is so the D layout and C++ layout use the same code, simplifying the compiler and making it more robust since the C++ interface is rarely used (and hence is buggy).

@andralex
Copy link
Member

andralex commented Feb 4, 2016

Auto-merge toggled on

@andralex
Copy link
Member

andralex commented Feb 4, 2016

dat red

andralex added a commit that referenced this pull request Feb 4, 2016
fix Issue 15644 - Switch object layout ABI to MI style
@andralex andralex merged commit 708f174 into dlang:master Feb 4, 2016
@WalterBright WalterBright deleted the changeToMiLayout branch February 4, 2016 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants