We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83d900f commit cfb3f9cCopy full SHA for cfb3f9c
crates/wasmi/src/engine/executor/handler/eval.rs
@@ -77,7 +77,7 @@ pub fn wasmi_i64_rotr_ssi(lhs: i64, rhs: u8) -> i64 {
77
}
78
79
pub fn wasmi_i32_and(lhs: i32, rhs: i32) -> bool {
80
- (rhs != 0) && (lhs != 0)
+ (lhs & rhs) != 0
81
82
83
pub fn wasmi_i32_not_and(lhs: i32, rhs: i32) -> bool {
0 commit comments