1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 03:28:20 +02:00

32-bit consteval fixes

This commit is contained in:
Brian Fiete 2020-12-23 11:27:46 -08:00
parent 31c89ab8e1
commit e4fa6776a8
4 changed files with 91 additions and 38 deletions

View file

@ -1013,11 +1013,12 @@ void BeIRCodeGen::HandleNextCmd()
CMD_PARAM(bool, isOptimized);
BF_ASSERT(mBeModule == NULL);
mPtrSize = ptrSize;
mPtrSize = ptrSize;
mIsOptimized = isOptimized;
mBeContext = new BeContext();
mBeModule = new BeModule(moduleName, mBeContext);
mBeModule->mBeIRCodeGen = this;
mBeModule->mBeIRCodeGen = this;
mBeContext->mPointerSize = ptrSize;
for (auto constInt : mConfigConsts)
{