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

refactor stack offset code #1441

Merged
merged 1 commit into from
Jan 9, 2013
Merged

refactor stack offset code #1441

merged 1 commit into from
Jan 9, 2013

Conversation

WalterBright
Copy link
Member

More refactoring of stack offset code

s->Soffset = Poffset;
Para.offset = align(REGSIZE,Para.offset); /* align on word stack boundary */
if (I64 && alignsize == 16 && Para.offset & 8)
Para.offset += 8;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this just be Para.offset = align(STACKALIGN,Para.offset) ; ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably, now that STACKALIGN is set for all models, whereas previously it was not. But I'm going to go through all the alignment stuff later.

@braddr
Copy link
Member

braddr commented Jan 8, 2013

And see.. immediate benefit.. the Linux_32 test build failed and master branch builds aren't impacted this time.

@leandro-lucarella-sociomantic
Copy link
Contributor

Just a sidenote to help on how to continue:

  1. swtich back to the <branch> you made the pull request from
  2. fix the code
  3. git commit --amend -a
  4. git push -f <remote> <branch>
  5. wait until the auto tester do its magic again :)

WalterBright added a commit that referenced this pull request Jan 9, 2013
refactor stack offset code
@WalterBright WalterBright merged commit 701a4cc into dlang:master Jan 9, 2013
@WalterBright WalterBright deleted the b1 branch January 9, 2013 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants