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 | 26f8c27c34b44f7d87de74d1de2128c1a02855bf (patch) | |
tree | af8e2a48c6bdac1ac118d027226915ef67e8bdac /lib/Target/MSIL/MSILWriter.h | |
parent | a2a90a052147b467411873dbc94879ee4e41e969 (diff) | |
download | external_llvm-26f8c27c34b44f7d87de74d1de2128c1a02855bf.tar.gz external_llvm-26f8c27c34b44f7d87de74d1de2128c1a02855bf.tar.bz2 external_llvm-26f8c27c34b44f7d87de74d1de2128c1a02855bf.zip |
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
Diffstat (limited to 'lib/Target/MSIL/MSILWriter.h')
-rw-r--r-- | lib/Target/MSIL/MSILWriter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/MSIL/MSILWriter.h b/lib/Target/MSIL/MSILWriter.h index b141e23d64..c64ceeeff5 100644 --- a/lib/Target/MSIL/MSILWriter.h +++ b/lib/Target/MSIL/MSILWriter.h @@ -42,7 +42,7 @@ namespace { static char ID; MSILModule(const std::set<const Type *>*& _UsedTypes, const TargetData*& _TD) - : ModulePass((intptr_t)&ID), UsedTypes(_UsedTypes), TD(_TD) {} + : ModulePass(&ID), UsedTypes(_UsedTypes), TD(_TD) {} void getAnalysisUsage(AnalysisUsage &AU) const { AU.addRequired<FindUsedTypes>(); @@ -86,7 +86,7 @@ namespace { StaticInitList; const std::set<const Type *>* UsedTypes; static char ID; - MSILWriter(raw_ostream &o) : FunctionPass((intptr_t)&ID), Out(o) { + MSILWriter(raw_ostream &o) : FunctionPass(&ID), Out(o) { UniqID = 0; } |