summaryrefslogtreecommitdiff
path: root/src/passes/Print.cpp
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2022-07-08 08:32:59 -0700
committerGitHub <noreply@github.com>2022-07-08 08:32:59 -0700
commitb88bedb16c8177442916eb64ebb4886206aeccf0 (patch)
treed2c037ce0b59b9a1362c349a61dc3b31a3bfe27e /src/passes/Print.cpp
parent19a437500a4c30f48355722653a01a8c44ff6bec (diff)
downloadbinaryen-b88bedb16c8177442916eb64ebb4886206aeccf0.tar.gz
binaryen-b88bedb16c8177442916eb64ebb4886206aeccf0.tar.bz2
binaryen-b88bedb16c8177442916eb64ebb4886206aeccf0.zip
[Strings] string.concat (#4777)
Diffstat (limited to 'src/passes/Print.cpp')
-rw-r--r--src/passes/Print.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp
index 49cade313..dc0214453 100644
--- a/src/passes/Print.cpp
+++ b/src/passes/Print.cpp
@@ -2272,6 +2272,9 @@ struct PrintExpressionContents
WASM_UNREACHABLE("invalid string.encode*");
}
}
+ void visitStringConcat(StringConcat* curr) {
+ printMedium(o, "string.concat");
+ }
};
// Prints an expression in s-expr format, including both the