From a79db30d284205cf27d90f9a174a7eb28c8afcb8 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 4 Sep 2008 17:05:41 +0000 Subject: Tidy up several unbeseeming casts from pointer to intptr_t. llvm-svn: 55779 --- llvm/lib/Transforms/Utils/LCSSA.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Transforms/Utils/LCSSA.cpp') diff --git a/llvm/lib/Transforms/Utils/LCSSA.cpp b/llvm/lib/Transforms/Utils/LCSSA.cpp index 55d7a485931..bcba3c13990 100644 --- a/llvm/lib/Transforms/Utils/LCSSA.cpp +++ b/llvm/lib/Transforms/Utils/LCSSA.cpp @@ -49,7 +49,7 @@ STATISTIC(NumLCSSA, "Number of live out of a loop variables"); namespace { struct VISIBILITY_HIDDEN LCSSA : public LoopPass { static char ID; // Pass identification, replacement for typeid - LCSSA() : LoopPass((intptr_t)&ID) {} + LCSSA() : LoopPass(&ID) {} // Cached analysis information for the current function. LoopInfo *LI; -- cgit v1.2.3