mozilla/rust — pull request #3628 by erickt (2012-09-29 07:20:59+00:00)
Title: rebase rust llvm patches on top of llvm HEAD

This fixes #3142, and depends on https://github.com/brson/llvm/pull/3 being accepted. Along the way I found a particularly interesting bug. Two closures in a method shared the same mangled name, which caused a rather confusing collision. I solved this by changing `trans_expr_fn` to use `mangle_internal_name_by_path_and_seq`, but to be perfectly honest, I have no idea why we never hit this before.