diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-11-23 11:05:35 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-11-23 11:05:35 +0000 |
commit | 6966727299bc057d9e7ce4e9b0d889a598d1ff2d (patch) | |
tree | 4f39055d46787a27868c9faa47c403da623b9e32 /llvm/lib/Target/CppBackend | |
parent | 951982327199928d38bdf9739e56b94b6142603c (diff) | |
download | bcm5719-llvm-6966727299bc057d9e7ce4e9b0d889a598d1ff2d.tar.gz bcm5719-llvm-6966727299bc057d9e7ce4e9b0d889a598d1ff2d.zip |
Update call to the new syntax.
llvm-svn: 168512
Diffstat (limited to 'llvm/lib/Target/CppBackend')
-rw-r--r-- | llvm/lib/Target/CppBackend/CPPBackend.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/CppBackend/CPPBackend.cpp b/llvm/lib/Target/CppBackend/CPPBackend.cpp index 0f3efd83450..5c909903f94 100644 --- a/llvm/lib/Target/CppBackend/CPPBackend.cpp +++ b/llvm/lib/Target/CppBackend/CPPBackend.cpp @@ -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); |