commit | 6574906818d4cf851525aabe415379aa7617f978 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sat Mar 21 08:24:40 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sat Mar 21 08:24:40 2009 +0000 |
tree | 20dc56b607b30dbfed6e67f0f91e0a221e76ebfc | |
parent | 64c55933ed88e2692811edbfb55a7a4148f3d021 [diff] |
fix several problems with asm renaming, by pulling it into the mangling code: 1. it wasn't applying to definitions, only declarations, e.g. int x __asm("foo") 2. multiple definitions were conflicting, they weren't getting merged. 3. the code was duplicated in several places. llvm-svn: 67442