aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-07-21 23:19:40 +0000
committerDan Gohman <gohman@apple.com>2009-07-21 23:19:40 +0000
commit295643b8050d4c45b06032690d707e7281e82c92 (patch)
tree195e59632537c11b4b354e2fc36b0a6bbdb14d3c /include
parentaedb59a541b82c62bcaecc6dcdbcd844cd2215b5 (diff)
downloadexternal_llvm-295643b8050d4c45b06032690d707e7281e82c92.zip
external_llvm-295643b8050d4c45b06032690d707e7281e82c92.tar.gz
external_llvm-295643b8050d4c45b06032690d707e7281e82c92.tar.bz2
Permit the IntPtrTy argument to isEliminableCastPair to be null,
to help support use when TargetData is not available. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76675 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/InstrTypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/InstrTypes.h b/include/llvm/InstrTypes.h
index 1ee2a4b..c3c48af 100644
--- a/include/llvm/InstrTypes.h
+++ b/include/llvm/InstrTypes.h
@@ -479,7 +479,7 @@ public:
const Type *SrcTy, ///< SrcTy of 1st cast
const Type *MidTy, ///< DstTy of 1st cast & SrcTy of 2nd cast
const Type *DstTy, ///< DstTy of 2nd cast
- const Type *IntPtrTy ///< Integer type corresponding to Ptr types
+ const Type *IntPtrTy ///< Integer type corresponding to Ptr types, or null
);
/// @brief Return the opcode of this CastInst