mozilla/rust — pull request #6731 by thomaslee (2013-05-25 05:50:45+00:00)
Title: Remove unused implicit argument for functions that return immediate values

Fix for #6575. In the trans phase, rustc emits code for a function parameter that goes completely unused in the event the return type of the function in question happens to be an immediate.

This patch modifies rustc & parts of rustrt to ensure that the vestigial parameter is no longer present in compiled code.