fix(jit): should not be unreachable
This commit is contained in:
@@ -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!(),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user