[llvm-commits] [PATCH] simplify OnlyCalledDirectly()
Nick Lewycky
nicholas at mxc.ca
Tue Jun 9 22:26:12 PDT 2009
Jay Foad wrote:
> 2009/6/4 Nick Lewycky <nicholas at mxc.ca>:
>> I'd rather it were a method on Function, I keep wanting to check this
>> and forgetting the efficient method of doing it (most recently in
>> CXAGuardElim).
>
> Like this? It passes "make check".
Just like that. You may want to consider renaming it "hasAddressTaken"
which I know is used elsewhere, but I don't have much of an opinion
either way. You decide.
And please commit it. Thanks!
Nick
More information about the llvm-commits
mailing list