am 74a4b082: Fix pass-by-value when the return type uses pass-by-reference.

* commit '74a4b08235990916911b8fe758d656c1171faf26':
  Fix pass-by-value when the return type uses pass-by-reference.