mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Removed unnecessary change
This commit is contained in:
parent
88bd74644e
commit
ab93df439d
1 changed files with 1 additions and 5 deletions
|
@ -15802,10 +15802,6 @@ void BfModule::EmitDtorBody()
|
||||||
if (auto bodyBlock = BfNodeDynCast<BfBlock>(methodDef->mBody))
|
if (auto bodyBlock = BfNodeDynCast<BfBlock>(methodDef->mBody))
|
||||||
{
|
{
|
||||||
VisitEmbeddedStatement(bodyBlock);
|
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;
|
|
||||||
|
|
||||||
if (bodyBlock->mCloseBrace != NULL)
|
if (bodyBlock->mCloseBrace != NULL)
|
||||||
{
|
{
|
||||||
UpdateSrcPos(bodyBlock->mCloseBrace);
|
UpdateSrcPos(bodyBlock->mCloseBrace);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue