commit | 69f4d0dba46086cdeddbfb368fcb4c7cbd7c878d | [log] [tgz] |
---|---|---|
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Wed Apr 06 02:25:12 2016 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Oct 07 05:41:40 2020 -0700 |
tree | 51deb9a028f83299124ff7104acd9b23ea2cd798 | |
parent | 0ba32fefba4b7a8707e5d082effe4d48c8f6b5c2 [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. llvm-svn: 265508 GitOrigin-RevId: 6f2e37429af186069cb93a30b436cb567293f047