Skip to content

Commit

Permalink
Fix dotnet translation tests, add _ in vm-asm tests #103
Browse files Browse the repository at this point in the history
  • Loading branch information
vovapolu committed Jun 29, 2018
1 parent 8a27a53 commit c8c63df
Show file tree
Hide file tree
Showing 6 changed files with 818 additions and 768 deletions.
Expand Up @@ -424,7 +424,7 @@ object Translator {
case LdLoc(num) => loadLocal(num)
case LdLocS(num) => loadLocal(num.toInt)

case Nop => Right(List(Operation.Nop))
case Nop => Right(List())
case Ret => Right(List())
case Jump(label) => Right(List(Operation.Jump(Some(label))))
case JumpI(label) => Right(List(pushTypedInt(1), Operation(Opcodes.EQ), Operation.JumpI(Some(label))))
Expand Down

0 comments on commit c8c63df

Please sign in to comment.