| Index: src/wasm/wasm-module-builder.cc
|
| diff --git a/src/wasm/wasm-module-builder.cc b/src/wasm/wasm-module-builder.cc
|
| index 290e98ecf8c224bb68f132669230541f23e4565b..7e1002bb4365992602d2293f08bcc044b804b178 100644
|
| --- a/src/wasm/wasm-module-builder.cc
|
| +++ b/src/wasm/wasm-module-builder.cc
|
| @@ -534,6 +534,8 @@ void WasmModuleBuilder::WriteAsmJsOffsetTable(ZoneBuffer& buffer) const {
|
| for (auto function : functions_) {
|
| function->WriteAsmWasmOffsetTable(buffer);
|
| }
|
| + // Append a 0 to indicate that this is an encoded table.
|
| + buffer.write_u8(0);
|
| }
|
| } // namespace wasm
|
| } // namespace internal
|
|
|