From ae73dc1448d25b02cabc7c64c86c64371453dda8 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55779 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/MachineFunctionPass.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/llvm/CodeGen/MachineFunctionPass.h') diff --git a/include/llvm/CodeGen/MachineFunctionPass.h b/include/llvm/CodeGen/MachineFunctionPass.h index a72563fb0a..95bb2bf510 100644 --- a/include/llvm/CodeGen/MachineFunctionPass.h +++ b/include/llvm/CodeGen/MachineFunctionPass.h @@ -27,6 +27,7 @@ namespace llvm { struct MachineFunctionPass : public FunctionPass { explicit MachineFunctionPass(intptr_t ID) : FunctionPass(ID) {} + explicit MachineFunctionPass(void *ID) : FunctionPass(ID) {} protected: /// runOnMachineFunction - This method must be overloaded to perform the -- cgit v1.2.3-18-g5258