1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

Output the new StructType constructor, which takes the context of the

module as first argument.

llvm-svn: 78340
This commit is contained in:
Nicolas Geoffray 2009-08-06 21:31:35 +00:00
parent 83399fc5d2
commit 0cd17db516

View File

@ -575,6 +575,7 @@ namespace {
nl(Out);
}
Out << "StructType* " << typeName << " = StructType::get("
<< "mod->getContext(), "
<< typeName << "_fields, /*isPacked=*/"
<< (ST->isPacked() ? "true" : "false") << ");";
nl(Out);