diff options
| author | Chris Lattner <sabre@nondot.org> | 2002-07-25 06:17:51 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2002-07-25 06:17:51 +0000 |
| commit | 10073a9080498f8ce8ad87b425d8bbb5b6536b67 (patch) | |
| tree | 10569e0dce9be5b0fc6bb11e55babf9b9f2c170f /llvm/lib/Transforms/TransformInternals.cpp | |
| parent | e680139c346e2e1e09f4574995cca1874abe7f28 (diff) | |
| download | bcm5719-llvm-10073a9080498f8ce8ad87b425d8bbb5b6536b67.tar.gz bcm5719-llvm-10073a9080498f8ce8ad87b425d8bbb5b6536b67.zip | |
*** empty log message ***
llvm-svn: 3075
Diffstat (limited to 'llvm/lib/Transforms/TransformInternals.cpp')
| -rw-r--r-- | llvm/lib/Transforms/TransformInternals.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/TransformInternals.cpp b/llvm/lib/Transforms/TransformInternals.cpp index 05bc69438b6..f8476231cf9 100644 --- a/llvm/lib/Transforms/TransformInternals.cpp +++ b/llvm/lib/Transforms/TransformInternals.cpp @@ -52,7 +52,7 @@ static const Type *getStructOffsetStep(const StructType *STy, unsigned &Offset, // const Type *getStructOffsetType(const Type *Ty, unsigned &Offset, std::vector<Value*> &Indices, - bool StopEarly = true) { + bool StopEarly) { if (Offset == 0 && StopEarly && !Indices.empty()) return Ty; // Return the leaf type @@ -87,7 +87,7 @@ const Type *getStructOffsetType(const Type *Ty, unsigned &Offset, // const Type *ConvertableToGEP(const Type *Ty, Value *OffsetVal, std::vector<Value*> &Indices, - BasicBlock::iterator *BI = 0) { + BasicBlock::iterator *BI) { const CompositeType *CompTy = dyn_cast<CompositeType>(Ty); if (CompTy == 0) return 0; |

