diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/yaml2obj/yaml2wasm.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/yaml2obj/yaml2wasm.cpp b/tools/yaml2obj/yaml2wasm.cpp index b4c21d0f0e5..3eae8727b60 100644 --- a/tools/yaml2obj/yaml2wasm.cpp +++ b/tools/yaml2obj/yaml2wasm.cpp @@ -156,7 +156,6 @@ int WasmWriter::writeSectionContent(raw_ostream &OS, WasmYAML::LinkingSection &S encodeULEB128(wasm::WASM_SEGMENT_INFO, OS); encodeULEB128(Section.SegmentInfos.size(), SubSection.GetStream()); for (const WasmYAML::SegmentInfo &SegmentInfo : Section.SegmentInfos) { - encodeULEB128(SegmentInfo.Index, SubSection.GetStream()); writeStringRef(SegmentInfo.Name, SubSection.GetStream()); encodeULEB128(SegmentInfo.Alignment, SubSection.GetStream()); encodeULEB128(SegmentInfo.Flags, SubSection.GetStream()); |