diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-04-18 12:06:29 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-04-18 12:06:29 -0700 |
commit | ae7bc10828f64f06647cd45449d3c67acb1effb3 (patch) | |
tree | 4e43691259cfa93f4cfdad4422a7fa03faa267f8 /src | |
parent | 5494c531db30145e7bf8745b46e9784967781616 (diff) | |
download | binaryen-ae7bc10828f64f06647cd45449d3c67acb1effb3.tar.gz binaryen-ae7bc10828f64f06647cd45449d3c67acb1effb3.tar.bz2 binaryen-ae7bc10828f64f06647cd45449d3c67acb1effb3.zip |
update binary section names per latest design (#363)
Diffstat (limited to 'src')
-rw-r--r-- | src/wasm-binary.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h index 935ffbae6..db2c0d71d 100644 --- a/src/wasm-binary.h +++ b/src/wasm-binary.h @@ -217,16 +217,16 @@ namespace BinaryConsts { namespace Section { auto Memory = "memory"; - auto Signatures = "signatures"; - auto ImportTable = "import_table"; - auto FunctionSignatures = "function_signatures"; - auto Functions = "functions"; - auto ExportTable = "export_table"; - auto DataSegments = "data_segments"; - auto FunctionTable = "function_table"; - auto Names = "names"; + auto Signatures = "type"; + auto ImportTable = "import"; + auto FunctionSignatures = "function"; + auto Functions = "code"; + auto ExportTable = "export"; + auto DataSegments = "data"; + auto FunctionTable = "table"; + auto Names = "name"; auto End = "end"; - auto Start = "start_function"; + auto Start = "start"; }; enum FunctionEntry { |