diff --git a/crates/wasm-mutate/src/mutators/codemotion/if_complement.rs b/crates/wasm-mutate/src/mutators/codemotion/if_complement.rs index 70e91bff88..c17a7e3519 100644 --- a/crates/wasm-mutate/src/mutators/codemotion/if_complement.rs +++ b/crates/wasm-mutate/src/mutators/codemotion/if_complement.rs @@ -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 {