Skip to content

Commit 32a5794

Browse files
committed
fix bug where we weren't setting bytecode offset for a backend instr
1 parent 594381a commit 32a5794

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)