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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp
index e5487d58e..590f9bce2 100644
--- a/src/passes/Print.cpp
+++ b/src/passes/Print.cpp
@@ -299,7 +299,7 @@ struct PrintSExpression : public Visitor<PrintSExpression> {
void visitStore(Store *curr) {
o << '(';
prepareColor(o) << printWasmType(curr->valueType) << ".store";
- if (curr->bytes < 4 || (curr->type == i64 && curr->bytes < 8)) {
+ if (curr->bytes < 4 || (curr->valueType == i64 && curr->bytes < 8)) {
if (curr->bytes == 1) {
o << '8';
} else if (curr->bytes == 2) {