<div dir="ltr">Hi Dan, JF,<div><br></div><div>I was getting a weird memory iterator error in this loop (in ToT with Debug+Asserts), but while I was looking at it I realized we could simplify the logic a bit if we split the loop apart into two - the part looking for the new insert point and then the part to look for all of the argument instructions.</div><div><br></div><div>It also solves the problem I was seeing with an invalid EntryBB.begin() during the insert.</div><div><br></div><div>OK?</div><div><br></div><div>-eric</div><div><br></div><div><br></div></div>