diff options
Diffstat (limited to 'src/passes/Print.cpp')
-rw-r--r-- | src/passes/Print.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp index 70e32e5d7..e766917ec 100644 --- a/src/passes/Print.cpp +++ b/src/passes/Print.cpp @@ -2237,6 +2237,11 @@ struct PrintExpressionContents WASM_UNREACHABLE("invalid string.new*"); } } + void visitStringConst(StringConst* curr) { + printMedium(o, "string.const \""); + o << curr->string.str; + o << '"'; + } }; // Prints an expression in s-expr format, including both the |