Skip to content

Commit

Permalink
FIX: Nop operation instead of unreachable (#813)
Browse files Browse the repository at this point in the history
This fixes #809
  • Loading branch information
Jacarte committed Nov 9, 2022
1 parent 290f4bc commit abf54b0
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -52,7 +52,7 @@ impl IfComplementWriter {
}
} else {
// Write an unreachable instruction
newfunc.instruction(&Instruction::Unreachable);
newfunc.instruction(&Instruction::Nop);
}
newfunc.instruction(&Instruction::Else);
for ch in then {
Expand Down

0 comments on commit abf54b0

Please sign in to comment.