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

Minor optimizations

This commit is contained in:
Brian Fiete 2022-05-04 12:51:45 -07:00
parent 0c955e5c66
commit 3736281ff7
4 changed files with 25 additions and 13 deletions

View file

@ -9574,7 +9574,7 @@ CeContext* CeMachine::AllocContext()
mCurEmitContext = NULL;
mExecuteId++;
ceContext->mStackSize = BF_CE_DEFAULT_STACK_SIZE;
ceContext->mMemory.Resize(ceContext->mStackSize);
ceContext->mMemory.ResizeRaw(ceContext->mStackSize);
ceContext->mExecuteId = mExecuteId;
ceContext->mCurHandleId = 0;
return ceContext;