diff --git a/source/Cosmos.IL2CPU/GCImplementation.cs b/source/Cosmos.IL2CPU/GCImplementation.cs index a14534f82..b71537be1 100644 --- a/source/Cosmos.IL2CPU/GCImplementation.cs +++ b/source/Cosmos.IL2CPU/GCImplementation.cs @@ -9,6 +9,7 @@ using System.Text; using System.Threading; using System.Diagnostics; using Cosmos.Common; +using Cosmos.IL2CPU.Plugs; namespace Cosmos.IL2CPU { [DebuggerStepThrough] @@ -25,6 +26,7 @@ namespace Cosmos.IL2CPU { throw new NotImplementedException(); } + [PlugMethod(PlugRequired=true)] public static uint AllocNewObject(uint aSize) { // uint xNewObject = RuntimeEngine.Heap_AllocNewObject(aSize + 4); //#if GC_DEBUG