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

Cleanup getJSToNativeConversionTemplate #2299

Merged

Conversation

Ms2ger
Copy link
Contributor

@Ms2ger Ms2ger commented May 3, 2014

No description provided.

@hoppipolla-critic-bot
Copy link

Critic review: https://critic.hoppipolla.co.uk/r/1446

This is an external review system which you may optionally use for the code review of your pull request.

In order to help critic track your changes, please do not make in-place history rewrites (e.g. via git rebase -i or git commit --amend) when updating this pull request.

Ms2ger added 7 commits May 5, 2014 11:21
…e into handleOptional.

This is a first step towards moving responsibility for default values into the
caller, which should improve their code (in particular for the dictionary
codegen.

This also introduces a Dictionary::empty function, whose implementation is a
hack. The implementation will be improved once its codegen has access to the
raw default values.

Besides dictionaries, this commit does not change the generated code.
This commit does not change the generated code.
…else branch.

This is the only case where we assign into an argument local twice, so removing
it will allow us to make that binding immutable.
bors-servo pushed a commit that referenced this pull request May 5, 2014
@bors-servo bors-servo merged commit 262dc30 into servo:master May 5, 2014
@Ms2ger Ms2ger deleted the getJSToNativeConversionTemplate-cleanup branch May 12, 2014 20:52
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.

None yet

4 participants