Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Conversation

@aheejin
Copy link
Member

@aheejin aheejin commented Jan 16, 2018

According to emscripten-core/emscripten#6068, it is not necessary anymore.

}
FunctionTable &Table = FunctionTables[Sig];
unsigned MinSize = ReservedFunctionPointers ? 2*(ReservedFunctionPointers+1) : 1; // each reserved slot must be 2-aligned
unsigned MinSize =
Copy link
Member

Choose a reason for hiding this comment

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

This could be just ReservedFunctionPointers + 1, I think (since if that value is 0, the result is 1 anyhow)?

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

@kripken
Copy link
Member

kripken commented Jan 16, 2018

Thanks, lgtm

@kripken kripken merged commit b8bc617 into emscripten-core:incoming Jan 16, 2018
@aheejin aheejin deleted the remove_fp_align branch January 16, 2018 23:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants