mozilla/rust — pull request #6903 by dotdash (2013-06-02 21:32:04+00:00)
Title: 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".

Closes #6682