mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 22:25:40 +00:00
Merge #892
892: Fix a few typos I've spotted. r=Hywan a=nlewycky Co-authored-by: Nick Lewycky <nick@wasmer.io>
This commit is contained in:
commit
da38cb85b4
@ -2682,7 +2682,7 @@ impl FunctionCodeGenerator<CodegenError> 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<CodegenError> 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<CodegenError> 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<CodegenError> 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<CodegenError> 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<CodegenError> 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<CodegenError> 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<CodegenError> 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, "");
|
||||
|
@ -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<LocalMemoryIndex, MemoryDescriptor>,
|
||||
pub globals: Map<LocalGlobalIndex, GlobalInit>,
|
||||
pub tables: Map<LocalTableIndex, TableDescriptor>,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user