Skip to content

Commit

Permalink
[CVE-2017-11905] JIT optimization fixes - Internal
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeHolman committed Dec 7, 2017
1 parent f94fda6 commit d97375c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Backend/IRBuilderAsmJs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -995,7 +995,7 @@ IRBuilderAsmJs::CreateLabel(IR::BranchInstr * branchInstr, uint & offset)
}

IR::LabelInstr * labelInstr;
if (instrPrev && instrPrev->IsLabelInstr() && instrPrev->GetByteCodeOffset() == offset)
if (instrPrev && instrPrev->IsLabelInstr())
{
// Found an existing label at the right offset. Just reuse it.
labelInstr = instrPrev->AsLabelInstr();
Expand Down

0 comments on commit d97375c

Please sign in to comment.