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

CE stack initialization

This commit is contained in:
Brian Fiete 2022-05-07 14:58:27 -07:00
parent e1d7939081
commit 53ba6f6c1f

View file

@ -9571,6 +9571,7 @@ CeContext* CeMachine::AllocContext()
ceContext = new CeContext(); ceContext = new CeContext();
ceContext->mCeMachine = this; ceContext->mCeMachine = this;
ceContext->mMemory.Reserve(BF_CE_INITIAL_MEMORY); ceContext->mMemory.Reserve(BF_CE_INITIAL_MEMORY);
memset(ceContext->mMemory.mVals, 0, BF_CE_INITIAL_MEMORY);
} }
ceContext->mCurEmitContext = mCurEmitContext; ceContext->mCurEmitContext = mCurEmitContext;