Chromium Code Reviews| 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); |
|
ahaas
2016/11/23 10:08:54
nit: I think it would be good to introduce an enco
Clemens Hammacher
2016/11/23 12:24:36
I think here it is OK, since the comment in the li
|
| } |
| } // namespace wasm |
| } // namespace internal |