mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 20:05:30 +00:00
Removed duplicate ldarg
This commit is contained in:
parent
78c0c0d16e
commit
33874c2d6d
|
@ -435,7 +435,6 @@ namespace OpenTK.Rewrite
|
||||||
int index = body.Variables.Count - 1;
|
int index = body.Variables.Count - 1;
|
||||||
|
|
||||||
// ptr = Marshal.AllocHGlobal(sb.Capacity + 1);
|
// ptr = Marshal.AllocHGlobal(sb.Capacity + 1);
|
||||||
il.Emit(OpCodes.Ldarg, i);
|
|
||||||
il.Emit(OpCodes.Callvirt, sb_get_capacity);
|
il.Emit(OpCodes.Callvirt, sb_get_capacity);
|
||||||
il.Emit(OpCodes.Call, alloc_hglobal);
|
il.Emit(OpCodes.Call, alloc_hglobal);
|
||||||
il.Emit(OpCodes.Stloc, index);
|
il.Emit(OpCodes.Stloc, index);
|
||||||
|
|
Loading…
Reference in a new issue