mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-24 23:19:03 +00:00
Remember to move a type to the correct set when setting the body.
We would set the body of a struct type (therefore making it non-opaque) but were forgetting to move it to the non-opaque set. Fixes pr22807. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231442 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -54,6 +54,7 @@ public:
|
||||
NonOpaqueStructTypeSet NonOpaqueStructTypes;
|
||||
|
||||
void addNonOpaque(StructType *Ty);
|
||||
void switchToNonOpaque(StructType *Ty);
|
||||
void addOpaque(StructType *Ty);
|
||||
StructType *findNonOpaque(ArrayRef<Type *> ETypes, bool IsPacked);
|
||||
bool hasType(StructType *Ty);
|
||||
|
||||
Reference in New Issue
Block a user