aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/SSI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Transforms/Utils/SSI.cpp')
-rw-r--r--lib/Transforms/Utils/SSI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Utils/SSI.cpp b/lib/Transforms/Utils/SSI.cpp
index 0585561a30..8178367dd4 100644
--- a/lib/Transforms/Utils/SSI.cpp
+++ b/lib/Transforms/Utils/SSI.cpp
@@ -403,7 +403,7 @@ static RegisterPass<SSI> X("ssi", "Static Single Information Construction");
namespace {
struct VISIBILITY_HIDDEN SSIEverything : public FunctionPass {
static char ID; // Pass identification, replacement for typeid
- SSIEverything() : FunctionPass((intptr_t)&ID) {}
+ SSIEverything() : FunctionPass(&ID) {}
bool runOnFunction(Function &F);