[dmd-internals] [D-Programming-Language/dmd] 081269: Add a stack variable's alignment to the AST.
GitHub via dmd-internals
dmd-internals at puremagic.com
Sat Nov 28 09:03:47 PST 2015
Branch: refs/heads/master
Home: https://github.com/D-Programming-Language/dmd
Commit: 0812693162921fcd481b0d64ee380120a84a8319
https://github.com/D-Programming-Language/dmd/commit/0812693162921fcd481b0d64ee380120a84a8319
Author: Johan Engelen <your_email at example.com>
Date: 2015-11-28 (Sat, 28 Nov 2015)
Changed paths:
M src/parse.d
Log Message:
-----------
Add a stack variable's alignment to the AST.
This is to support code such as:
void f() {
align(16) int a; // <---- this alignment is now stored in the AST
}
The align(16) is parsed at line 3961, however it is never applied to the Dsymbol for stack variables (line 4022 and onwards). It should be stored in the AST for the backend to use (DMD backend does not use it yet).
Commit: 539972f2c5f7a36d4557cc2b191f1997da0f0254
https://github.com/D-Programming-Language/dmd/commit/539972f2c5f7a36d4557cc2b191f1997da0f0254
Author: Walter Bright <walter at walterbright.com>
Date: 2015-11-28 (Sat, 28 Nov 2015)
Changed paths:
M src/parse.d
Log Message:
-----------
Merge pull request #5284 from JohanEngelen/stackalignment
Add a stack variable's align() to the AST
Compare: https://github.com/D-Programming-Language/dmd/compare/574542fe2cf8...539972f2c5f7
More information about the dmd-internals
mailing list