summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/wasm-merge.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/wasm-merge.cpp b/src/tools/wasm-merge.cpp
index 6c7bd46af..e8910860e 100644
--- a/src/tools/wasm-merge.cpp
+++ b/src/tools/wasm-merge.cpp
@@ -106,7 +106,7 @@ struct Mergeable {
}
}
for (auto& section : wasm.userSections) {
- if (section.name == "dylink") {
+ if (section.name == BinaryConsts::UserSections::Dylink) {
WasmBinaryBuilder builder(wasm, section.data, false);
totalMemorySize = std::max(totalMemorySize, builder.getU32LEB());
totalTableSize = std::max(totalTableSize, builder.getU32LEB());