This commit is contained in:
vis2k 2021-09-20 18:53:12 +08:00
parent 411a531eda
commit c0db7fce38

View File

@ -53,10 +53,10 @@ static void ProcessSiteMethod(WeaverLists weaverLists, MethodDefinition md)
if (md.Body != null && md.Body.Instructions != null)
{
for (int iCount = 0; iCount < md.Body.Instructions.Count;)
for (int i = 0; i < md.Body.Instructions.Count;)
{
Instruction instr = md.Body.Instructions[iCount];
iCount += ProcessInstruction(weaverLists, md, instr, iCount);
Instruction instr = md.Body.Instructions[i];
i += ProcessInstruction(weaverLists, md, instr, i);
}
}
}