diff options
| author | Jay Foad <jay.foad@gmail.com> | 2009-06-10 08:41:11 +0000 |
|---|---|---|
| committer | Jay Foad <jay.foad@gmail.com> | 2009-06-10 08:41:11 +0000 |
| commit | 557169d923e6155feafc984bbea05abb04e8129e (patch) | |
| tree | 9261d65ee4739b858aa87c83d41b506a2a19911b /llvm/include | |
| parent | 76d864c7e756008490d11473773ea04a48186626 (diff) | |
| download | bcm5719-llvm-557169d923e6155feafc984bbea05abb04e8129e.tar.gz bcm5719-llvm-557169d923e6155feafc984bbea05abb04e8129e.zip | |
Implement and use new method Function::hasAddressTaken().
llvm-svn: 73164
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/Function.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/include/llvm/Function.h b/llvm/include/llvm/Function.h index ccc006cfcfb..228ef9440e0 100644 --- a/llvm/include/llvm/Function.h +++ b/llvm/include/llvm/Function.h @@ -395,6 +395,10 @@ public: /// including any contained basic blocks. /// void dropAllReferences(); + + /// hasAddressTaken - returns true if there are any uses of this function + /// other than direct calls or invokes to it. + bool hasAddressTaken() const; }; inline ValueSymbolTable * |

