Browse Source

Fix variable naming bug that was introduced together with cle/cge virtual opcodes

pull/205/head
Pent Ploompuu 15 years ago
parent
commit
f525e42a57
  1. 4
      ICSharpCode.Decompiler/Ast/NameVariables.cs

4
ICSharpCode.Decompiler/Ast/NameVariables.cs

@ -162,6 +162,10 @@ namespace ICSharpCode.Decompiler.Ast @@ -162,6 +162,10 @@ namespace ICSharpCode.Decompiler.Ast
case ILCode.Clt_Un:
case ILCode.Cgt:
case ILCode.Cgt_Un:
case ILCode.Cle:
case ILCode.Cle_Un:
case ILCode.Cge:
case ILCode.Cge_Un:
ILVariable loadVar;
if (expr.Arguments[0].Match(ILCode.Ldloc, out loadVar) && loadVar == variable) {
isLoopCounter = true;

Loading…
Cancel
Save