Removed duplicate ldarg

This commit is contained in:
Stefanos A 2013-12-03 08:59:48 +01:00
parent 78c0c0d16e
commit 33874c2d6d

View file

@ -435,7 +435,6 @@ namespace OpenTK.Rewrite
int index = body.Variables.Count - 1;
// ptr = Marshal.AllocHGlobal(sb.Capacity + 1);
il.Emit(OpCodes.Ldarg, i);
il.Emit(OpCodes.Callvirt, sb_get_capacity);
il.Emit(OpCodes.Call, alloc_hglobal);
il.Emit(OpCodes.Stloc, index);