diff options
| author | Dan Gohman <gohman@apple.com> | 2008-09-04 17:05:41 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2008-09-04 17:05:41 +0000 |
| commit | a79db30d284205cf27d90f9a174a7eb28c8afcb8 (patch) | |
| tree | 6889329ccf26fd620cce0799a3cdf94b0acde4e3 /llvm/lib/Transforms/IPO/Inliner.cpp | |
| parent | 4b19157ba913903a07284ad3c066da9a7e7fc8c6 (diff) | |
| download | bcm5719-llvm-a79db30d284205cf27d90f9a174a7eb28c8afcb8.tar.gz bcm5719-llvm-a79db30d284205cf27d90f9a174a7eb28c8afcb8.zip | |
Tidy up several unbeseeming casts from pointer to intptr_t.
llvm-svn: 55779
Diffstat (limited to 'llvm/lib/Transforms/IPO/Inliner.cpp')
| -rw-r--r-- | llvm/lib/Transforms/IPO/Inliner.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/IPO/Inliner.cpp b/llvm/lib/Transforms/IPO/Inliner.cpp index 38cb67dddf1..88b6afdebb7 100644 --- a/llvm/lib/Transforms/IPO/Inliner.cpp +++ b/llvm/lib/Transforms/IPO/Inliner.cpp @@ -34,11 +34,11 @@ static cl::opt<int> InlineLimit("inline-threshold", cl::Hidden, cl::init(200), cl::desc("Control the amount of inlining to perform (default = 200)")); -Inliner::Inliner(const void *ID) - : CallGraphSCCPass((intptr_t)ID), InlineThreshold(InlineLimit) {} +Inliner::Inliner(void *ID) + : CallGraphSCCPass(ID), InlineThreshold(InlineLimit) {} -Inliner::Inliner(const void *ID, int Threshold) - : CallGraphSCCPass((intptr_t)ID), InlineThreshold(Threshold) {} +Inliner::Inliner(void *ID, int Threshold) + : CallGraphSCCPass(ID), InlineThreshold(Threshold) {} /// getAnalysisUsage - For this class, we declare that we require and preserve /// the call graph. If the derived class implements this method, it should |

