summaryrefslogtreecommitdiff
path: root/src/passes/Print.cpp
diff options
context:
space:
mode:
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 c380eb0f9..9e1afffd4 100644
--- a/src/passes/Print.cpp
+++ b/src/passes/Print.cpp
@@ -1871,6 +1871,9 @@ struct PrintExpressionContents
}
void visitRefAs(RefAs* curr) {
switch (curr->op) {
+ case RefAsNonNull:
+ printMedium(o, "ref.as_non_null");
+ break;
case RefAsFunc:
printMedium(o, "ref.as_func");
break;