1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Fixed "over-aligned" issue with global variables

This commit is contained in:
Brian Fiete 2025-05-12 15:47:25 +02:00
parent 2f6d9e03ab
commit 8102de259f
2 changed files with 28 additions and 0 deletions

View file

@ -178,6 +178,7 @@ public:
public:
void InitTarget();
void FixValues(llvm::StructType* structType, llvm::SmallVector<llvm::Value*, 8>& values);
void FixValues(llvm::StructType* structType, llvm::SmallVector<llvm::Constant*, 8>& values);
void FixIndexer(llvm::Value*& val);
void FixTypedValue(BfIRTypedValue& typedValue);
BfTypeCode GetTypeCode(llvm::Type* type, bool isSigned);