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

Simplify function registration #2310

Merged
merged 2 commits into from Sep 1, 2016
Merged

Simplify function registration #2310

merged 2 commits into from Sep 1, 2016

Conversation

K-ballo
Copy link
Member

@K-ballo K-ballo commented Aug 27, 2016

No description provided.

@hkaiser
Copy link
Member

hkaiser commented Aug 28, 2016

Could you please describe in some detail what's different from the old scheme and how you built it to work now?

@K-ballo
Copy link
Member Author

K-ballo commented Aug 28, 2016

Function vtable registration is now always done by the serialization vtable, which already is a global doing initialization. There is no separate global static to kickstart registration, not automatically nor manually.

The polymorphic factory now holds a direct pointer to the vtable, rather than a pointer to yet another global that would return the pointer to the vtable using runtime polymorphism.

@hkaiser hkaiser merged commit 75e4530 into master Sep 1, 2016
@hkaiser hkaiser deleted the vtables branch September 1, 2016 18:22
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

2 participants