From: Dylan Noblesmith Date: Thu, 23 Jun 2011 12:11:37 +0000 (+0000) Subject: CppBackend: fixup for api change X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=4dd26ddf8e8bd1d19c246734ce0df4d63a604d51;p=oota-llvm.git CppBackend: fixup for api change This broke after r133364. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133709 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/CppBackend/CPPBackend.cpp b/lib/Target/CppBackend/CPPBackend.cpp index 0d15514d8cf..ae03725e4cf 100644 --- a/lib/Target/CppBackend/CPPBackend.cpp +++ b/lib/Target/CppBackend/CPPBackend.cpp @@ -586,7 +586,6 @@ bool CppWriter::printTypeInternal(const Type* Ty) { nl(Out); } Out << "StructType* " << typeName << " = StructType::get(" - << "mod->getContext(), " << typeName << "_fields, /*isPacked=*/" << (ST->isPacked() ? "true" : "false") << ");"; nl(Out);