mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Fixed Compiler.Emit in unspecialized comptime methods
This commit is contained in:
parent
03f5c418ed
commit
70c2131c18
1 changed files with 1 additions and 0 deletions
|
@ -6884,6 +6884,7 @@ bool CeContext::Execute(CeFunction* startFunction, uint8* startStackPtr, uint8*
|
|||
{
|
||||
SetAndRestoreValue<BfMethodInstance*> prevMethodInstance(mCurModule->mCurMethodInstance, mCallerMethodInstance);
|
||||
SetAndRestoreValue<BfTypeInstance*> prevTypeInstance(mCurModule->mCurTypeInstance, mCallerTypeInstance);
|
||||
SetAndRestoreValue<bool> emitIgnoreWrites(ceModule->mBfIRBuilder->mIgnoreWrites, ignoreWrites.mPrevVal);
|
||||
|
||||
// int32 strInstAddr = *(int32*)((uint8*)stackPtr + 0);
|
||||
// String emitStr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue