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

Fix spilling & add a big test from issue #215 #264

Merged
merged 2 commits into from
Dec 9, 2016

Conversation

takikawa
Copy link
Member

@takikawa takikawa commented Dec 8, 2016

This PR fixes spilling for certain instructions in the dynasm backend and adds a test. I mainly wanted to ask if the setup for the test is reasonable or if I should put it somewhere else. It's the giant test expression from issue #215, which is big enough that I put it in a separate file in the tests directory.

The mov handling was incorrectly relying on the generic
spill handling code, but it's easier to understand if there's
just some special-case code for mov.
This test exercises spilling for the dynasm backend
pretty well and exposed a bug
@wingo
Copy link
Contributor

wingo commented Dec 8, 2016

LGTM

@takikawa takikawa merged commit 12f0236 into Igalia:master Dec 9, 2016
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.

2 participants