Browse Source

Actually use the improved code in ILInlining.IsSafeForInlineOver()

pull/734/head
Daniel Grunwald 9 years ago
parent
commit
9803fd90e3
  1. 2
      ICSharpCode.Decompiler/IL/Transforms/ILInlining.cs

2
ICSharpCode.Decompiler/IL/Transforms/ILInlining.cs

@ -318,7 +318,7 @@ namespace ICSharpCode.Decompiler.IL.Transforms @@ -318,7 +318,7 @@ namespace ICSharpCode.Decompiler.IL.Transforms
/// </summary>
static bool IsSafeForInlineOver(ILInstruction expr, ILInstruction expressionBeingMoved)
{
return SemanticHelper.MayReorder(expressionBeingMoved.Flags, expr.Flags);
return SemanticHelper.MayReorder(expressionBeingMoved, expr);
}
}
}

Loading…
Cancel
Save