Skip to content

Commit a0e8946

Browse files
boingoingpleath
authored andcommitted
1 parent be74d83 commit a0e8946

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/Backend/IRBuilder.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1906,6 +1906,10 @@ IRBuilder::BuildReg2(Js::OpCode newOpcode, uint32 offset, Js::RegSlot R0, Js::Re
19061906
this->AddInstr(instr, offset);
19071907
return;
19081908
}
1909+
case Js::OpCode::InitConst:
1910+
// Don't use InitConst in the JIT, as some dataflow tracking is missing, and we don't currently optimize for it.
1911+
newOpcode = Js::OpCode::Ld_A;
1912+
break;
19091913
}
19101914

19111915
IR::RegOpnd * dstOpnd = this->BuildDstOpnd(R0);

0 commit comments

Comments
 (0)