mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-27 22:12:25 +00:00
This commit is contained in:
parent
9ee665b0be
commit
59d59a89e9
1 changed files with 1 additions and 0 deletions
|
|
@ -73,6 +73,7 @@ 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"); // boxing fix
|
||||
Call.EmitExceptionLogic(Assembler, mCurrentILOffset, mCurrentMethodInfo, mLabelName + "_AfterAddressCheck", true, xEmitCleanup);
|
||||
new CPU.Label(mLabelName + "_AfterAddressCheck");
|
||||
if (mTargetMethodInfo.Arguments[0].ArgumentType == typeof(object)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue