Skip to content

Commit c25ff8b

Browse files
committed
[MERGE #5555 @MikeHolman] fix bug where we weren't setting bytecode offset for a backend instr
Merge pull request #5555 from MikeHolman:missingoffset
2 parents 594381a + 32a5794 commit c25ff8b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Backend/GlobOpt.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2776,6 +2776,7 @@ GlobOpt::OptTagChecks(IR::Instr *instr)
27762776
}
27772777
bailOutInstr->SetSrc1(srcOpnd);
27782778
bailOutInstr->GetSrc1()->SetValueType(valueType);
2779+
bailOutInstr->SetByteCodeOffset(instr);
27792780
instr->InsertBefore(bailOutInstr);
27802781
if (this->currentBlock->loop)
27812782
{

0 commit comments

Comments
 (0)