summaryrefslogtreecommitdiff
path: root/src/passes/Print.cpp
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2022-11-22 13:20:14 -0800
committerGitHub <noreply@github.com>2022-11-22 21:20:14 +0000
commit09ce29d4ab6fd03a9e777f7244154f504a6c0113 (patch)
tree13a4d7b68e9df9d98d08addb8c184a9a3f49d7b2 /src/passes/Print.cpp
parent776c15a1ae4a6c8b97784bd60c6696fdb4e626ef (diff)
downloadbinaryen-09ce29d4ab6fd03a9e777f7244154f504a6c0113.tar.gz
binaryen-09ce29d4ab6fd03a9e777f7244154f504a6c0113.tar.bz2
binaryen-09ce29d4ab6fd03a9e777f7244154f504a6c0113.zip
Rename UserSection -> CustomSection. NFC (#5288)
This reflects that naming used in the spec.
Diffstat (limited to 'src/passes/Print.cpp')
-rw-r--r--src/passes/Print.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp
index 6dbd54e73..d4b86f93d 100644
--- a/src/passes/Print.cpp
+++ b/src/passes/Print.cpp
@@ -3370,7 +3370,7 @@ struct PrintSExpression : public UnifiedExpressionVisitor<PrintSExpression> {
if (curr->dylinkSection) {
printDylinkSection(curr->dylinkSection);
}
- for (auto& section : curr->userSections) {
+ for (auto& section : curr->customSections) {
doIndent(o, indent);
o << ";; custom section \"" << section.name << "\", size "
<< section.data.size();