diff --git a/js/src/wasm/WasmBinaryToText.cpp b/js/src/wasm/WasmBinaryToText.cpp index cbf69b84176d..427bcd937bc6 100644 --- a/js/src/wasm/WasmBinaryToText.cpp +++ b/js/src/wasm/WasmBinaryToText.cpp @@ -1748,7 +1748,7 @@ RenderExport(WasmRenderContext& c, AstExport& export_, break; } case DefinitionKind::Global: { - if (!c.buffer.append("global")) + if (!c.buffer.append("global ")) return false; if (!RenderRef(c, export_.ref())) return false;