This commit is contained in:
Matthijs ter Woord 2015-07-23 11:58:30 -04:00
parent 9e33bac822
commit 9171a3de35
2 changed files with 4 additions and 3 deletions

View file

@ -19,11 +19,11 @@ namespace Cosmos.TestRunner.Core
// if you're working on the compiler (or other lower parts), you can choose to run the compiler in process
// 1 thing to keep in mind though, is that this only works with 1 kernel at a time!
engine.RunIL2CPUInProcess = false;
engine.RunIL2CPUInProcess = true;
engine.AddKernel(typeof(Cosmos.Compiler.Tests.SimpleWriteLine.Kernel.Kernel).Assembly.Location);
//engine.AddKernel(typeof(Cosmos.Compiler.Tests.SimpleWriteLine.Kernel.Kernel).Assembly.Location);
engine.AddKernel(typeof(SimpleStructsAndArraysTest.Kernel).Assembly.Location);
engine.AddKernel(typeof(VGACompilerCrash.Kernel).Assembly.Location);
//engine.AddKernel(typeof(VGACompilerCrash.Kernel).Assembly.Location);
// known bugs, therefor disabled for now:

View file

@ -1416,6 +1416,7 @@ namespace Cosmos.IL2CPU
string xLabel = TmpPosLabel(aMethod, aOpCode);
Assembler.CurrentIlLabel = xLabel;
new Cosmos.Assembler.Label(xLabel);
if (aMethod.MethodBase.DeclaringType != typeof(VTablesImpl))
{
Assembler.EmitAsmLabels = false;