From 02be85f61031ab3a8aec5fb865e01f3ee6109942 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Thu, 16 Jun 2022 11:12:52 +0200 Subject: [PATCH] Enable multi-value handling in Singlepass compiler --- lib/compiler-singlepass/src/compiler.rs | 3 --- tests/ignores.txt | 4 ---- 2 files changed, 7 deletions(-) diff --git a/lib/compiler-singlepass/src/compiler.rs b/lib/compiler-singlepass/src/compiler.rs index b86c30fde0a..952605657b0 100644 --- a/lib/compiler-singlepass/src/compiler.rs +++ b/lib/compiler-singlepass/src/compiler.rs @@ -89,9 +89,6 @@ impl Compiler for SinglepassCompiler { } _ => None, }; - if compile_info.features.multi_value { - return Err(CompileError::UnsupportedFeature("multivalue".to_string())); - } let calling_convention = match target.triple().default_calling_convention() { Ok(CallingConvention::WindowsFastcall) => CallingConvention::WindowsFastcall, Ok(CallingConvention::SystemV) => CallingConvention::SystemV, diff --git a/tests/ignores.txt b/tests/ignores.txt index 4654af9d99a..fdc6ed1fbfb 100644 --- a/tests/ignores.txt +++ b/tests/ignores.txt @@ -1,5 +1,4 @@ # Compilers -singlepass spec::multi_value # Singlepass has not implemented multivalue (functions that returns "structs"/"tuples") singlepass spec::simd # Singlepass doesn't support yet SIMD (no one asked for this feature) windows+dylib * # This might be trivial to fix? @@ -32,9 +31,6 @@ llvm traps::start_trap_pretty dylib traps::start_trap_pretty cranelift+aarch64 traps::start_trap_pretty -singlepass multi_value_imports::dylib # Singlepass doesn't support multivalue -singlepass multi_value_imports::dynamic # Singlepass doesn't support multivalue - # Also neither LLVM nor Cranelift currently implement stack probing on AArch64. # https://github.com/wasmerio/wasmer/issues/2808 cranelift+aarch64 spec::skip_stack_guard_page