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

JIT: Fix the return pointer for backpatched operations. #1892

Merged
merged 1 commit into from Jan 18, 2015

Conversation

magumagu
Copy link
Contributor

The key change is that for stores less than 5 bytes, the correct
place to return is immediately after the backpatched jump, not somewhere
inside it.

@comex
Copy link
Contributor

comex commented Jan 16, 2015

isn't it supposed to return to the beginning of the jump?

@magumagu
Copy link
Contributor Author

Err, let me try fixing the commit message; I can see that wasn't clear. The handler returns to the beginning of the jump; the trampoline returns to after the jump.

The key change is that for stores less than 5 bytes, the correct
place for the trampoline to return is immediately after the backpatched jump,
not somewhere inside it.
skidau added a commit that referenced this pull request Jan 18, 2015
JIT: Fix the return pointer for backpatched operations.
@skidau skidau merged commit a2d98ce into dolphin-emu:master Jan 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants