Sfoglia il codice sorgente

Fix oversight after rebase

Michael Ferris 8 anni fa
parent
commit
03c64023d1
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      test/wasm/table_signatures.js

+ 1 - 1
test/wasm/table_signatures.js

@@ -78,7 +78,7 @@ const moduleText = `
   ${signatures.map(sig => `
   (func (export "call${sig.id}") (type $callt${sig.id})
     ${sig.params.map((_, iParam) => `(get_local ${iParam + 1})`).join(" ")}
-    (call_indirect $t${sig.id} (get_local 0))
+    (call_indirect (type $t${sig.id}) (get_local 0))
   )`
   ).join("")}
 )`;