From 603a407c4fbff5e743a1da4fd6e95f4c418917ea Mon Sep 17 00:00:00 2001 From: kudzu_cp <6d05c8c8ef5431987001abfdb2eadc9593ac9498> Date: Sat, 21 Jun 2008 20:54:28 +0000 Subject: [PATCH] --- source/Indy.IL2CPU.IL.X86/Callvirt.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/Indy.IL2CPU.IL.X86/Callvirt.cs b/source/Indy.IL2CPU.IL.X86/Callvirt.cs index 11628b059..b6f62bf28 100644 --- a/source/Indy.IL2CPU.IL.X86/Callvirt.cs +++ b/source/Indy.IL2CPU.IL.X86/Callvirt.cs @@ -98,6 +98,8 @@ namespace Indy.IL2CPU.IL.X86 { new CPUx86.Pushd(CPUx86.Registers.AtEAX); new CPUx86.Pushd("0" + mMethodIdentifier.ToString("X") + "h"); new CPUx86.Call(CPU.Label.GenerateLabelName(VTablesImplRefs.GetMethodAddressForTypeRef)); + new CPUx86.Pop("eax"); + /* * On the stack now: * $esp Params