Browse Source

[PATCH 75/83] changing wabt syntax to an older version of table declaration

From 666a81bb69655269fccd78b07785ab69fb11c5c9 Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <[email protected]>
Date: Tue, 29 Oct 2019 10:03:53 -0400

git-svn-id: branches/wasm@45952 -
nickysn 5 years ago
parent
commit
ed46fbc76a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/wasm/agwat.pas

+ 1 - 1
compiler/wasm/agwat.pas

@@ -837,7 +837,7 @@ implementation
       if not Assigned(hp) then Exit;
       if not Assigned(hp) then Exit;
 
 
       // writting out table, so wat2wasm can create reallocation symbols
       // writting out table, so wat2wasm can create reallocation symbols
-      writer.AsmWrite(#9'(table 0 funcref)');
+      writer.AsmWrite(#9'(table 0 anyfunc)');
       writer.AsmWriteLn(#9'(elem 0 (i32.const 0) ');
       writer.AsmWriteLn(#9'(elem 0 (i32.const 0) ');
       while Assigned(hp) do begin
       while Assigned(hp) do begin
         case hp.typ of
         case hp.typ of