fix(jit): should not be unreachable

This commit is contained in:
2025-05-23 19:16:49 +08:00
parent a47a08b051
commit 5291e49313
2 changed files with 2 additions and 3 deletions

View File

@@ -226,7 +226,7 @@ extern "C" fn helper_neg(rhs: JITValue, _env: *const VmEnv) -> JITValue {
float: -unsafe { rhs.data.float },
},
},
_ => unreachable!(),
_ => todo!(),
}
}
@@ -239,7 +239,7 @@ extern "C" fn helper_not(rhs: JITValue, _env: *const VmEnv) -> JITValue {
bool: !unsafe { rhs.data.bool },
},
},
_ => unreachable!(),
_ => todo!(),
}
}