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:
parent
83399fc5d2
commit
0cd17db516
@ -575,6 +575,7 @@ namespace {
|
||||
nl(Out);
|
||||
}
|
||||
Out << "StructType* " << typeName << " = StructType::get("
|
||||
<< "mod->getContext(), "
|
||||
<< typeName << "_fields, /*isPacked=*/"
|
||||
<< (ST->isPacked() ? "true" : "false") << ");";
|
||||
nl(Out);
|
||||
|
Loading…
Reference in New Issue
Block a user