llvm.org GIT mirror llvm / 847a9c3
Pass in the context to the Attributes::get method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166007 91177308-0d34-0410-b5e6-96231b3b80d8 Bill Wendling 8 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
512512 nl(Out);
513513 attrs.removeAttribute(Attributes::StackAlignment);
514514 assert(!attrs.hasAttributes() && "Unhandled attribute!");
515 Out << "PAWI.Attrs = Attributes::get(B);";
515 Out << "PAWI.Attrs = Attributes::get(mod->getContext(), B);";
516516 nl(Out);
517517 Out << "Attrs.push_back(PAWI);";
518518 nl(Out);