Merging r168512: into 3.2 release branch.

Update call to the new syntax.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_32@168526 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Pawel Wodnicki committed 2012-11-23 19:56:57 +00:00
1 parent df46b9004b
commit 024e48b43d
1 file changed
+1 -1
+1 -1
View File
@@ -518,7 +518,7 @@ void CppWriter::printAttributes(const AttrListPtr &PAL,
Out << "Attrs.push_back(PAWI);";
nl(Out);
}
Out << name << "_PAL = AttrListPtr::get(Attrs);";
Out << name << "_PAL = AttrListPtr::get(mod->getContext(), Attrs);";
nl(Out);
out(); nl(Out);
Out << '}'; nl(Out);