From a492f0ecccd7315c640eff9cf1affba89e62bddc Mon Sep 17 00:00:00 2001 From: Matthijs ter Woord Date: Thu, 9 Jun 2016 10:08:25 -0400 Subject: [PATCH] Mark heap implementation with PlugRequired --- source/Cosmos.IL2CPU/GCImplementation.cs | 2 ++ 1 file changed, 2 insertions(+) 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