diff --git a/lib/llvm-backend/src/code.rs b/lib/llvm-backend/src/code.rs index 9ccb0c990..7ce0459b9 100644 --- a/lib/llvm-backend/src/code.rs +++ b/lib/llvm-backend/src/code.rs @@ -2682,7 +2682,7 @@ impl FunctionCodeGenerator for LLVMFunctionCodeGenerator { } Operator::F32Min => { // This implements the same logic as LLVM's @llvm.minimum - // intrinsic would, but x86 lowering of that intrinsics + // intrinsic would, but x86 lowering of that intrinsic // encounters a fatal error in LLVM 8 and LLVM 9. let (v1, v2) = state.pop2()?; let v1 = canonicalize_nans(builder, intrinsics, v1); @@ -2728,7 +2728,7 @@ impl FunctionCodeGenerator for LLVMFunctionCodeGenerator { } Operator::F64Min => { // This implements the same logic as LLVM's @llvm.minimum - // intrinsic would, but x86 lowering of that intrinsics + // intrinsic would, but x86 lowering of that intrinsic // encounters a fatal error in LLVM 8 and LLVM 9. let (v1, v2) = state.pop2()?; let v1 = canonicalize_nans(builder, intrinsics, v1); @@ -2774,7 +2774,7 @@ impl FunctionCodeGenerator for LLVMFunctionCodeGenerator { } Operator::F32x4Min => { // This implements the same logic as LLVM's @llvm.minimum - // intrinsic would, but x86 lowering of that intrinsics + // intrinsic would, but x86 lowering of that intrinsic // encounters a fatal error in LLVM 8 and LLVM 9. let (v1, v2) = state.pop2()?; let v1 = builder.build_bitcast(v1, intrinsics.f32x4_ty, ""); @@ -2829,7 +2829,7 @@ impl FunctionCodeGenerator for LLVMFunctionCodeGenerator { } Operator::F64x2Min => { // This implements the same logic as LLVM's @llvm.minimum - // intrinsic would, but x86 lowering of that intrinsics + // intrinsic would, but x86 lowering of that intrinsic // encounters a fatal error in LLVM 8 and LLVM 9. let (v1, v2) = state.pop2()?; let v1 = builder.build_bitcast(v1, intrinsics.f64x2_ty, ""); @@ -2884,7 +2884,7 @@ impl FunctionCodeGenerator for LLVMFunctionCodeGenerator { } Operator::F32Max => { // This implements the same logic as LLVM's @llvm.maximum - // intrinsic would, but x86 lowering of that intrinsics + // intrinsic would, but x86 lowering of that intrinsic // encounters a fatal error in LLVM 8 and LLVM 9. let (v1, v2) = state.pop2()?; let v1 = canonicalize_nans(builder, intrinsics, v1); @@ -2929,7 +2929,7 @@ impl FunctionCodeGenerator for LLVMFunctionCodeGenerator { } Operator::F64Max => { // This implements the same logic as LLVM's @llvm.maximum - // intrinsic would, but x86 lowering of that intrinsics + // intrinsic would, but x86 lowering of that intrinsic // encounters a fatal error in LLVM 8 and LLVM 9. let (v1, v2) = state.pop2()?; let v1 = canonicalize_nans(builder, intrinsics, v1); @@ -2974,7 +2974,7 @@ impl FunctionCodeGenerator for LLVMFunctionCodeGenerator { } Operator::F32x4Max => { // This implements the same logic as LLVM's @llvm.maximum - // intrinsic would, but x86 lowering of that intrinsics + // intrinsic would, but x86 lowering of that intrinsic // encounters a fatal error in LLVM 8 and LLVM 9. let (v1, v2) = state.pop2()?; let v1 = builder.build_bitcast(v1, intrinsics.f32x4_ty, ""); @@ -3029,7 +3029,7 @@ impl FunctionCodeGenerator for LLVMFunctionCodeGenerator { } Operator::F64x2Max => { // This implements the same logic as LLVM's @llvm.maximum - // intrinsic would, but x86 lowering of that intrinsics + // intrinsic would, but x86 lowering of that intrinsic // encounters a fatal error in LLVM 8 and LLVM 9. let (v1, v2) = state.pop2()?; let v1 = builder.build_bitcast(v1, intrinsics.f64x2_ty, ""); diff --git a/lib/runtime-core/src/module.rs b/lib/runtime-core/src/module.rs index 6cc02343f..1bf914a46 100644 --- a/lib/runtime-core/src/module.rs +++ b/lib/runtime-core/src/module.rs @@ -29,7 +29,7 @@ pub struct ModuleInner { #[derive(Clone, Debug, Serialize, Deserialize)] pub struct ModuleInfo { - // This are strictly local and the typsystem ensures that. + // This are strictly local and the typesystem ensures that. pub memories: Map, pub globals: Map, pub tables: Map, diff --git a/lib/runtime-core/src/vmcalls.rs b/lib/runtime-core/src/vmcalls.rs index 5205a0d69..33d473aa0 100644 --- a/lib/runtime-core/src/vmcalls.rs +++ b/lib/runtime-core/src/vmcalls.rs @@ -10,7 +10,7 @@ use crate::{ // +*****************************+ // | LOCAL MEMORIES | -// +****************************+ +// +*****************************+ pub unsafe extern "C" fn local_static_memory_grow( ctx: &mut vm::Ctx, @@ -72,7 +72,7 @@ pub unsafe extern "C" fn local_dynamic_memory_size( // +*****************************+ // | IMPORTED MEMORIES | -// +****************************+ +// +*****************************+ pub unsafe extern "C" fn imported_static_memory_grow( ctx: &mut vm::Ctx, @@ -140,7 +140,7 @@ pub unsafe extern "C" fn imported_dynamic_memory_size( // +*****************************+ // | LOCAL TABLES | -// +****************************+ +// +*****************************+ pub unsafe extern "C" fn local_table_grow( ctx: &mut vm::Ctx,