commit | 15709846d44d23117705c5b3f9d6ffd77c27793d | [log] [tgz] |
---|---|---|
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Wed Apr 06 02:25:12 2016 +0000 |
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Wed Apr 06 02:25:12 2016 +0000 |
tree | 51deb9a028f83299124ff7104acd9b23ea2cd798 | |
parent | 13d5c58951083fd44481974a2beb764914f20907 [diff] |
ValueMapper: Fix delayed blockaddress handling after r265273 r265273 added Mapper::mapBlockAddress, which delays mapping a blockaddress value until the function has a body. The condition was backwards, and should be checking Function::empty instead of GlobalValue::isDeclaration. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265508 91177308-0d34-0410-b5e6-96231b3b80d8