Skip to content

Commit

Permalink
don't make last minute changes
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyAyersMS committed Sep 21, 2024
1 parent 5ac85cd commit 6df6dbc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/coreclr/jit/flowgraph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3384,24 +3384,24 @@ void Compiler::fgAddCodeRef(BasicBlock* srcBlk, SpecialCodeKind kind)
return;
}

// Fetch block data and designator
//
AcdKeyDesignator dsg = AcdKeyDesignator::KD_NONE;
unsigned const refData = (kind == SCK_FAIL_FAST) ? 0 : bbThrowIndex(srcBlk, &dsg);

// Look for an existing entry that matches what we're looking for
//
AddCodeDsc* add = fgFindExcptnTarget(kind, srcBlk);

if (add != nullptr)
{
JITDUMP(FMT_BB " requires throw helper block for %s, sharing ACD%u (data 0x%08x)\n", srcBlk->bbNum,
sckName(kind), add->acdNum, add->refData);
sckName(kind), add->acdNum, refData);
return;
}

assert(!fgRngChkThrowAdded);

// Fetch block data and designator
//
AcdKeyDesignator dsg = AcdKeyDesignator::KD_NONE;
unsigned const refData = (kind == SCK_FAIL_FAST) ? 0 : bbThrowIndex(srcBlk, &dsg);

// Allocate a new entry and prepend it to the list
//
add = new (this, CMK_Unknown) AddCodeDsc;
Expand Down

0 comments on commit 6df6dbc

Please sign in to comment.