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/CodeGen/RegAllocLinearScan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen/RegAllocLinearScan.cpp') diff --git a/llvm/lib/CodeGen/RegAllocLinearScan.cpp b/llvm/lib/CodeGen/RegAllocLinearScan.cpp index c6f714a9cb7..91dda771475 100644 --- a/llvm/lib/CodeGen/RegAllocLinearScan.cpp +++ b/llvm/lib/CodeGen/RegAllocLinearScan.cpp @@ -55,7 +55,7 @@ linearscanRegAlloc("linearscan", " linear scan register allocator", namespace { struct VISIBILITY_HIDDEN RALinScan : public MachineFunctionPass { static char ID; - RALinScan() : MachineFunctionPass((intptr_t)&ID) {} + RALinScan() : MachineFunctionPass(&ID) {} typedef std::pair IntervalPtr; typedef SmallVector IntervalPtrs; -- cgit v1.2.3