Implement call_indirect signature checking.

The call_indirect.wast spec test now passes.
This commit is contained in:
Dan Gohman
2018-12-05 08:46:17 -05:00
parent 57635eb62b
commit 96941a59af
11 changed files with 263 additions and 69 deletions

View File

@@ -93,8 +93,8 @@ fn ignore(testsuite: &str, name: &str) -> bool {
match testsuite {
"spec_testsuite" => match name {
// These are the remaining spec testsuite failures.
"call_indirect" | "data" | "elem" | "exports" | "func" | "func_ptrs" | "globals"
| "imports" | "linking" | "names" | "start" => true,
"data" | "elem" | "exports" | "func" | "func_ptrs" | "globals" | "imports"
| "linking" | "names" | "start" => true,
_ => false,
},
_ => false,