mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
consteval reification fixes
This commit is contained in:
parent
08e3f9155e
commit
21798e20f9
3 changed files with 27 additions and 7 deletions
|
@ -5442,6 +5442,9 @@ BfTypedValue CeMachine::Call(BfAstNode* targetSrc, BfModule* module, BfMethodIns
|
|||
SetAndRestoreValue<BfModule*> prevModule(mCurModule, module);
|
||||
SetAndRestoreValue<BfMethodInstance*> prevMethodInstance(mCurMethodInstance, methodInstance);
|
||||
SetAndRestoreValue<BfType*> prevExpectingType(mCurExpectingType, expectingType);
|
||||
|
||||
// Reentrancy may occur as methods need defining
|
||||
SetAndRestoreValue<BfMethodState*> prevMethodStateInConstEval(module->mCurMethodState, NULL);
|
||||
|
||||
if (mAppendAllocInfo != NULL)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue