mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
switch to use the new api for structtypes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137480 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -303,7 +303,7 @@ static void WriteTypeTable(const ValueEnumerator &VE, BitstreamWriter &Stream) {
|
||||
E = ST->element_end(); I != E; ++I)
|
||||
TypeVals.push_back(VE.getTypeID(*I));
|
||||
|
||||
if (ST->isAnonymous()) {
|
||||
if (ST->isLiteral()) {
|
||||
Code = bitc::TYPE_CODE_STRUCT_ANON;
|
||||
AbbrevToUse = StructAnonAbbrev;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user