diff options
author | Yury Delendik <ydelendik@mozilla.com> | 2018-08-31 09:26:23 -0500 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2018-08-31 07:26:23 -0700 |
commit | 5c01f256df98dfe94b0c62323f94c1bcdcc3679d (patch) | |
tree | 40c799005900da6e886da21c364a1f567c57d296 /src/wasm-binary.h | |
parent | e4d014f4293e38f179354af7b049133679b256d8 (diff) | |
download | binaryen-5c01f256df98dfe94b0c62323f94c1bcdcc3679d.tar.gz binaryen-5c01f256df98dfe94b0c62323f94c1bcdcc3679d.tar.bz2 binaryen-5c01f256df98dfe94b0c62323f94c1bcdcc3679d.zip |
Escape name section ids in binary format reading/writing to be WebAssembly spec compatible. (#1646)
Diffstat (limited to 'src/wasm-binary.h')
-rw-r--r-- | src/wasm-binary.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h index 670084401..487979b3a 100644 --- a/src/wasm-binary.h +++ b/src/wasm-binary.h @@ -721,6 +721,7 @@ public: // helpers void writeInlineString(const char* name); + void writeEscapedName(const char* name); void writeInlineBuffer(const char* data, size_t size); struct Buffer { |