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 passing self by value for types passed by value #6903

Closed
wants to merge 1 commit into from

Commits on Jun 2, 2013

  1. Fix passing self by value for types passed by value

    For types that are passed by value, we can't just cast the value to a
    pointer, but have to use an alloca and copy the value there. This
    handling is already present for all other arguments, but was missing
    for "self".
    
    Fixes rust-lang#6682, rust-lang#4850 and rust-lang#4878
    dotdash committed Jun 2, 2013
    5 Configuration menu
    Copy the full SHA
    b51f44e View commit details
    Browse the repository at this point in the history