Mark heap implementation with PlugRequired

This commit is contained in:
Matthijs ter Woord 2016-06-09 10:08:25 -04:00
parent d27c44893a
commit a492f0eccc

View file

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