commit | 2c22f8dc09b638a375f671b81027f242a9775558 | [log] [tgz] |
---|---|---|
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Mon Jan 19 19:25:33 2015 +0000 |
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Mon Jan 19 19:25:33 2015 +0000 |
tree | 923466f7cdb2d7a3655c5e24cdd762ea5ff0d485 | |
parent | a0ed724a444208a2296eead4c3590057794ed85c [diff] |
IR: Assert that resolve() is only called on uniqued nodes, NFC Add an assertion in `UniquableMDNode::resolve()` to prevent temporaries from being resolved (once they're merged back in). Needed to shuffle order of `resolve()` and `storeDistinctInContext()` to prevent it from firing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226489 91177308-0d34-0410-b5e6-96231b3b80d8