mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Struct cast fix, deferred block fix
This commit is contained in:
parent
2fb4b14e50
commit
8b17718fed
8 changed files with 82 additions and 18 deletions
|
@ -186,6 +186,7 @@ bool BfModule::AddDeferredCallEntry(BfDeferredCallEntry* deferredCallEntry, BfSc
|
|||
hashCtx.MixinStr(parserData->mFileName);
|
||||
|
||||
int64 blockId = BfDeferredMethodCallData::GenerateMethodId(this, hashCtx.Finish64());
|
||||
deferredCallEntry->mBlockId = blockId;
|
||||
|
||||
auto deferType = deferredCallEntryType;
|
||||
|
||||
|
@ -797,7 +798,7 @@ void BfModule::EmitDeferredCallProcessor(SLIList<BfDeferredCallEntry*>& callEntr
|
|||
deferredCallEntry = deferredCallEntry->mNext;
|
||||
continue;
|
||||
}
|
||||
int blockId = -block->GetSrcStart();
|
||||
int64 blockId = deferredCallEntry->mBlockId;
|
||||
|
||||
//auto itr = handledSet.insert(deferredCallEntry);
|
||||
//if (!itr.second)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue