1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 03:52:19 +02:00

Fixed some alignment differences between LLVM and BeefBE

This commit is contained in:
Brian Fiete 2020-04-03 10:34:26 -07:00
parent 0ae14f5a5d
commit 1ca01864bb
12 changed files with 73 additions and 21 deletions

View file

@ -634,7 +634,7 @@ void BeIRCodeGen::Read(BeValue*& beValue)
globalVariable->mName = name;
globalVariable->mIsTLS = isTLS;
globalVariable->mAlign = varType->mAlign;
globalVariable->mUnnamedAddr = false;
globalVariable->mUnnamedAddr = false;
BF_ASSERT(varType->mAlign > 0);
SetResult(streamId, globalVariable);