llvm.org GIT mirror llvm / 58c2ac0
Change PointerType::get -> getUnqual git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57032 91177308-0d34-0410-b5e6-96231b3b80d8 Daniel Dunbar 12 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
19551955 BasicBlock::iterator ii(instToReplace);
19561956
19571957 ReplaceInstWithValue(instToReplace->getParent()->getInstList(), ii,
1958 Constant::getNullValue(PointerType::get(Type::Int32Ty)));
1958 Constant::getNullValue(PointerType::getUnqual(Type::Int32Ty)));
19591959
19601960
19611961
  • ReplaceInstWithInst
  • 20902090 // Create the initial outer struct
    20912091 PATypeHolder StructTy = OpaqueType::get();
    20922092 std::vector<const Type*> Elts;
    2093 Elts.push_back(PointerType::get(StructTy));
    2093 Elts.push_back(PointerType::getUnqual(StructTy));
    20942094 Elts.push_back(Type::Int32Ty);
    20952095 StructType *NewSTy = StructType::get(Elts);
    20962096