CppBackend: fixup for api change

This broke after r133364.

llvm-svn: 133709
This commit is contained in:
Dylan Noblesmith 2011-06-23 12:11:37 +00:00
parent 61ea0e4692
commit f490726633
1 changed files with 0 additions and 1 deletions

View File

@ -586,7 +586,6 @@ bool CppWriter::printTypeInternal(const Type* Ty) {
nl(Out); nl(Out);
} }
Out << "StructType* " << typeName << " = StructType::get(" Out << "StructType* " << typeName << " = StructType::get("
<< "mod->getContext(), "
<< typeName << "_fields, /*isPacked=*/" << typeName << "_fields, /*isPacked=*/"
<< (ST->isPacked() ? "true" : "false") << ");"; << (ST->isPacked() ? "true" : "false") << ");";
nl(Out); nl(Out);