diff options
author | Ben Smith <binji@chromium.org> | 2020-01-16 10:13:51 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-16 10:13:51 -0800 |
commit | d663c80dcb627fed3e21cfa2b47465452a83a894 (patch) | |
tree | 4053a21d1ee26e6d452cbe62454976bd6a76ceb0 /src/binary-writer-spec.cc | |
parent | 0fdf72711e23116750f1aff34cae57f0d5c55125 (diff) | |
download | wabt-d663c80dcb627fed3e21cfa2b47465452a83a894.tar.gz wabt-d663c80dcb627fed3e21cfa2b47465452a83a894.tar.bz2 wabt-d663c80dcb627fed3e21cfa2b47465452a83a894.zip |
Update testsuite (#1308)
* Remove `assert_return_func`. This is now handled by using
`assert_return` with `(ref.func)`.
* The reference types proposal depends on the bulk memory proposal, so
using `--enable-reference-types` automatically includes
`--enable-bulk-memory`.
* `table.fill` no longer clamps to the valid range, and instead checks
before writing anything. This matches the other bulk instructions.
Diffstat (limited to 'src/binary-writer-spec.cc')
-rw-r--r-- | src/binary-writer-spec.cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/binary-writer-spec.cc b/src/binary-writer-spec.cc index d547f7d6..d730b9b7 100644 --- a/src/binary-writer-spec.cc +++ b/src/binary-writer-spec.cc @@ -130,7 +130,6 @@ void BinaryWriterSpec::WriteCommandType(const Command& command) { "assert_unlinkable", "assert_uninstantiable", "assert_return", - "assert_return_func", "assert_trap", "assert_exhaustion", }; @@ -496,14 +495,6 @@ void BinaryWriterSpec::WriteCommands() { break; } - case CommandType::AssertReturnFunc: { - auto* assert_return_command = cast<AssertReturnFuncCommand>(command); - WriteLocation(assert_return_command->action->loc); - WriteSeparator(); - WriteAction(*assert_return_command->action); - break; - } - case CommandType::AssertTrap: { auto* assert_trap_command = cast<AssertTrapCommand>(command); WriteLocation(assert_trap_command->action->loc); |