mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Removed unnecessary change
This commit is contained in:
parent
88bd74644e
commit
ab93df439d
1 changed files with 1 additions and 5 deletions
|
@ -15801,11 +15801,7 @@ void BfModule::EmitDtorBody()
|
|||
|
||||
if (auto bodyBlock = BfNodeDynCast<BfBlock>(methodDef->mBody))
|
||||
{
|
||||
VisitEmbeddedStatement(bodyBlock);
|
||||
|
||||
// We don't have an exit block and no return was actually emitted, so we set this to false to ensure a proper ret emission later
|
||||
mCurMethodState->mHadReturn = false;
|
||||
|
||||
VisitEmbeddedStatement(bodyBlock);
|
||||
if (bodyBlock->mCloseBrace != NULL)
|
||||
{
|
||||
UpdateSrcPos(bodyBlock->mCloseBrace);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue