diff options
author | Keith Winstein <keithw@cs.stanford.edu> | 2022-03-08 23:07:11 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-08 23:07:11 -0800 |
commit | 5d1724d2ecbdd481c092f83ea5fcfc0dcadf8716 (patch) | |
tree | 85ca5fe5d9417aecc495d5e5268e2b6b6561f047 /src | |
parent | f290718e5725fc2de27100282cead6462fc67a60 (diff) | |
download | wabt-5d1724d2ecbdd481c092f83ea5fcfc0dcadf8716.tar.gz wabt-5d1724d2ecbdd481c092f83ea5fcfc0dcadf8716.tar.bz2 wabt-5d1724d2ecbdd481c092f83ea5fcfc0dcadf8716.zip |
wasm2c: run older versions of some spec tests (#1853)
Test wasm2c against versions of the spec tests from before bulk-memory
and reference-types were merged (as of commit a8bcbaf in the testsuite
repo). These should be replaced with the current versions once wasm2c
supports bulk-memory and reference-types.
Diffstat (limited to 'src')
-rw-r--r-- | src/c-writer.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/c-writer.cc b/src/c-writer.cc index 04fdeca9..de34cb61 100644 --- a/src/c-writer.cc +++ b/src/c-writer.cc @@ -1026,12 +1026,6 @@ void CWriter::WriteTables() { return; } - if (!module_->types.size()) { - // If no types are defined then there is no way to use the table - // for anything. - return; - } - Write(Newline()); assert(module_->tables.size() <= 1); |