X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FVMCore%2FFunction.cpp;h=dd781964a9174ad28bb215a4a1132fab8cf9352f;hb=bb862c042fd773354645382ad0511b165b33116e;hp=8b91c18ffff8e389f333593821d9eaa44e462ac0;hpb=1a34b7bf9ac21ab3e497dcb3be3f1485c80780dc;p=oota-llvm.git diff --git a/lib/VMCore/Function.cpp b/lib/VMCore/Function.cpp index 8b91c18ffff..dd781964a91 100644 --- a/lib/VMCore/Function.cpp +++ b/lib/VMCore/Function.cpp @@ -90,17 +90,21 @@ std::string ParamAttrsList::getParamAttrsText(uint16_t Attrs) { std::string Result; if (Attrs & ParamAttr::ZExt) - Result += "zext "; + Result += "zeroext "; if (Attrs & ParamAttr::SExt) - Result += "sext "; + Result += "signext "; if (Attrs & ParamAttr::NoReturn) Result += "noreturn "; if (Attrs & ParamAttr::NoUnwind) Result += "nounwind "; if (Attrs & ParamAttr::InReg) Result += "inreg "; + if (Attrs & ParamAttr::NoAlias) + Result += "noalias "; if (Attrs & ParamAttr::StructRet) Result += "sret "; + if (Attrs & ParamAttr::ByVal) + Result += "byval "; return Result; } @@ -269,7 +273,7 @@ std::string Intrinsic::getName(ID id, const Type **Tys, unsigned numTys) { } const FunctionType *Intrinsic::getType(ID id, const Type **Tys, - uint32_t numTys) { + unsigned numTys) { const Type *ResultTy = NULL; std::vector ArgTys; bool IsVarArg = false;