Finegrainify namespacification

add flags for PR82


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10724 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2004-01-09 05:53:38 +00:00
parent f173842577
commit 559d519549
3 changed files with 23 additions and 13 deletions
+2 -1
View File
@@ -370,7 +370,8 @@ bool RPR::PeepholeOptimize(BasicBlock *BB, BasicBlock::iterator &BI) {
// Build the index vector, full of all zeros
std::vector<Value*> Indices;
Indices.push_back(ConstantSInt::get(Type::LongTy, 0));
Indices.push_back(ConstantSInt::get(Type::LongTy, 0)); // FIXME, PR82
while (CurCTy && !isa<PointerType>(CurCTy)) {
const Type *IdxType;
if (const StructType *CurSTy = dyn_cast<StructType>(CurCTy)) {