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

[AArch64] Correctly calculate stub_size(). #7373

Closed

Conversation

dave-estes-QCOM
Copy link
Contributor

Additionally refactor extract_spoff() using a lighter-weight
instruction decoding approach in keeping with the x86_64 and PPC64
implementations.

Additionally refactor extract_spoff() using a lighter-weight
instruction decoding approach in keeping with the x86_64 and PPC64
implementations..

if (instr->Mask(vixl::AddSubImmediateMask) == vixl::SUB_w_imm ||
instr->Mask(vixl::AddSubImmediateMask) == vixl::SUB_x_imm)
return FPInvOffset{offBytes / int32_t{sizeof(Cell)}};
Copy link
Contributor

Choose a reason for hiding this comment

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

Please no goto fails in HHVM.

Copy link
Contributor

Choose a reason for hiding this comment

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

Just to be a little more clear - please surround the return statement with braces so it's not a single hanging statement.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for that. I was gonna inquire. :-) Will post an update shortly.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@hhvm-bot
Copy link
Contributor

@dave-estes updated the pull request - view changes - changes since last import

@ghost ghost added the CLA Signed label Sep 26, 2016
@hhvm-bot hhvm-bot closed this in 55082fe Sep 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants