mirror of
https://github.com/danbulant/Cosmos
synced 2026-06-06 00:03:10 +00:00
This commit is contained in:
parent
9b079978cc
commit
f57587ac2e
1 changed files with 12 additions and 11 deletions
|
|
@ -3,6 +3,7 @@ using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
using Indy.IL2CPU;
|
||||||
using Indy.IL2CPU.Plugs;
|
using Indy.IL2CPU.Plugs;
|
||||||
|
|
||||||
namespace Cosmos.IL2CPU {
|
namespace Cosmos.IL2CPU {
|
||||||
|
|
@ -199,17 +200,17 @@ namespace Cosmos.IL2CPU {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//ExecuteInternal( ( System.Reflection.MethodInfo )RuntimeEngineRefs.InitializeApplicationRef );
|
ExecuteInternal( ( System.Reflection.MethodInfo )RuntimeEngineRefs.InitializeApplicationRef, true );
|
||||||
//ExecuteInternal( ( System.Reflection.MethodInfo )RuntimeEngineRefs.FinalizeApplicationRef );
|
ExecuteInternal( ( System.Reflection.MethodInfo )RuntimeEngineRefs.FinalizeApplicationRef, true );
|
||||||
////xScanner.QueueMethod(typeof(CosmosAssembler).GetMethod("PrintException"));
|
////xScanner.QueueMethod(typeof(CosmosAssembler).GetMethod("PrintException"), true);
|
||||||
//ExecuteInternal( ( System.Reflection.MethodInfo )VTablesImplRefs.LoadTypeTableRef );
|
ExecuteInternal( ( System.Reflection.MethodInfo )VTablesImplRefs.LoadTypeTableRef, true );
|
||||||
//ExecuteInternal( ( System.Reflection.MethodInfo )VTablesImplRefs.SetMethodInfoRef );
|
ExecuteInternal( ( System.Reflection.MethodInfo )VTablesImplRefs.SetMethodInfoRef, true );
|
||||||
//ExecuteInternal( ( System.Reflection.MethodInfo )VTablesImplRefs.IsInstanceRef );
|
ExecuteInternal( ( System.Reflection.MethodInfo )VTablesImplRefs.IsInstanceRef, true );
|
||||||
//ExecuteInternal( ( System.Reflection.MethodInfo )VTablesImplRefs.SetTypeInfoRef );
|
ExecuteInternal( ( System.Reflection.MethodInfo )VTablesImplRefs.SetTypeInfoRef, true );
|
||||||
//ExecuteInternal( ( System.Reflection.MethodInfo )VTablesImplRefs.GetMethodAddressForTypeRef );
|
ExecuteInternal( ( System.Reflection.MethodInfo )VTablesImplRefs.GetMethodAddressForTypeRef, true );
|
||||||
//ExecuteInternal( ( System.Reflection.MethodInfo )GCImplementationRefs.IncRefCountRef );
|
ExecuteInternal( ( System.Reflection.MethodInfo )GCImplementationRefs.IncRefCountRef, true );
|
||||||
//ExecuteInternal( ( System.Reflection.MethodInfo )GCImplementationRefs.DecRefCountRef );
|
ExecuteInternal( ( System.Reflection.MethodInfo )GCImplementationRefs.DecRefCountRef, true );
|
||||||
//ExecuteInternal( ( System.Reflection.MethodInfo )GCImplementationRefs.AllocNewObjectRef );
|
ExecuteInternal( ( System.Reflection.MethodInfo )GCImplementationRefs.AllocNewObjectRef, true );
|
||||||
|
|
||||||
// Scan from entry point of this program
|
// Scan from entry point of this program
|
||||||
//TODO: Now that we scan plugs first, we might need to put a jump
|
//TODO: Now that we scan plugs first, we might need to put a jump
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue