Skip to content

Commit

Permalink
Fixed callvirt for boxed value types.
Browse files Browse the repository at this point in the history
  • Loading branch information
jp2masa committed Aug 25, 2018
1 parent 9a74d43 commit 968f716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Cosmos.IL2CPU/IL/Callvirt.cs
Expand Up @@ -166,7 +166,7 @@ public static void DoExecute(Assembler Assembler, _MethodInfo aMethod, MethodBas

for (int i = 0; i < xThisOffset / 4; i++)
{
XS.Push(ESP, displacement: -4);
XS.Push(ESP, displacement: -8);
}

if (xHasParams
Expand Down

0 comments on commit 968f716

Please sign in to comment.