remove expect from pop func and add return value other wasm opcode functions
This commit is contained in:
@@ -631,9 +631,9 @@ where
|
||||
Operator::Min(Size::_32) => ctx.f32_min()?,
|
||||
Operator::Max(Size::_32) => ctx.f32_max()?,
|
||||
Operator::Copysign(Size::_32) => ctx.f32_copysign()?,
|
||||
Operator::Sqrt(Size::_32) => ctx.f32_sqrt(),
|
||||
Operator::Neg(Size::_32) => ctx.f32_neg(),
|
||||
Operator::Abs(Size::_32) => ctx.f32_abs(),
|
||||
Operator::Sqrt(Size::_32) => ctx.f32_sqrt()?,
|
||||
Operator::Neg(Size::_32) => ctx.f32_neg()?,
|
||||
Operator::Abs(Size::_32) => ctx.f32_abs()?,
|
||||
Operator::Floor(Size::_32) => ctx.f32_floor()?,
|
||||
Operator::Ceil(Size::_32) => ctx.f32_ceil()?,
|
||||
Operator::Nearest(Size::_32) => ctx.f32_nearest()?,
|
||||
@@ -651,9 +651,9 @@ where
|
||||
Operator::Min(Size::_64) => ctx.f64_min()?,
|
||||
Operator::Max(Size::_64) => ctx.f64_max()?,
|
||||
Operator::Copysign(Size::_64) => ctx.f64_copysign()?,
|
||||
Operator::Sqrt(Size::_64) => ctx.f64_sqrt(),
|
||||
Operator::Neg(Size::_64) => ctx.f64_neg(),
|
||||
Operator::Abs(Size::_64) => ctx.f64_abs(),
|
||||
Operator::Sqrt(Size::_64) => ctx.f64_sqrt()?,
|
||||
Operator::Neg(Size::_64) => ctx.f64_neg()?,
|
||||
Operator::Abs(Size::_64) => ctx.f64_abs()?,
|
||||
Operator::Floor(Size::_64) => ctx.f64_floor()?,
|
||||
Operator::Ceil(Size::_64) => ctx.f64_ceil()?,
|
||||
Operator::Nearest(Size::_64) => ctx.f64_nearest()?,
|
||||
|
||||
Reference in New Issue
Block a user