OSDN Git Service

[SCCP] Use the `hasAddressTaken()` version defined in `Function`.
authorDavide Italiano <davide@freebsd.org>
Tue, 23 May 2017 23:59:23 +0000 (23:59 +0000)
committerDavide Italiano <davide@freebsd.org>
Tue, 23 May 2017 23:59:23 +0000 (23:59 +0000)
commit587030b4f5da6ec3dfbc921723ece7ed46a3adfb
treee6f452cfb2f60f89b8c5cb0e10578bd13f6f2420
parent1c4a508c0d6309b4b64f7b388215099d3a2c5bbd
[SCCP] Use the `hasAddressTaken()` version defined in `Function`.

Instead of using the SCCP homegrown one. We should eventually
make the private SCCP version disappear, but that wont' be today.
PR33143 tracks this issue.

Add braces for consistency while here. No functional change intended.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303706 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/SCCP.cpp