revert r178784 since it does not have a commit message
llvm-svn: 178796
This commit is contained in:
@@ -227,20 +227,6 @@ llvm::MDNode *CodeGenModule::getTBAAStructInfo(QualType QTy) {
|
||||
return TBAA->getTBAAStructInfo(QTy);
|
||||
}
|
||||
|
||||
llvm::MDNode *CodeGenModule::getTBAAStructTypeInfo(QualType QTy) {
|
||||
if (!TBAA)
|
||||
return 0;
|
||||
return TBAA->getTBAAStructTypeInfo(QTy);
|
||||
}
|
||||
|
||||
llvm::MDNode *CodeGenModule::getTBAAStructTagInfo(QualType BaseTy,
|
||||
llvm::MDNode *AccessN,
|
||||
uint64_t O) {
|
||||
if (!TBAA)
|
||||
return 0;
|
||||
return TBAA->getTBAAStructTagInfo(BaseTy, AccessN, O);
|
||||
}
|
||||
|
||||
void CodeGenModule::DecorateInstruction(llvm::Instruction *Inst,
|
||||
llvm::MDNode *TBAAInfo) {
|
||||
Inst->setMetadata(llvm::LLVMContext::MD_tbaa, TBAAInfo);
|
||||
|
||||
Reference in New Issue
Block a user