Permalink
Browse files

- Fixed CIL.Ldc transformation

  • Loading branch information...
1 parent e19ad0c commit 8b120dcfd91b5198e697cbb563b6b29bd2e56107 @tgiphil tgiphil committed Sep 20, 2016
Showing with 2 additions and 2 deletions.
  1. +1 −1 Launcher.bat
  2. +1 −1 Source/Mosa.Compiler.Framework/Stages/CILTransformationStage.cs
View
@@ -1 +1 @@
-start bin\Mosa.Tool.Launcher.exe -qemu bin\Mosa.CoolWorld.x86.exe
+start bin\Mosa.Tool.Launcher.exe -qemu bin\Mosa.HelloWorld.x86.exe
@@ -914,7 +914,7 @@ private void Ldarga(Context context)
/// <param name="context">The context.</param>
private void Ldc(Context context)
{
- Debug.Assert(context.Operand1.IsConstant);
+ Debug.Assert(context.Operand1.IsConstant || context.Operand1.IsVirtualRegister);
var source = context.Operand1;
var destination = context.Result;

0 comments on commit 8b120dc

Please sign in to comment.