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 aa533849f..ddeec3dce 100644
--- a/src/passes/Print.cpp
+++ b/src/passes/Print.cpp
@@ -383,7 +383,7 @@ struct PrintSExpression : public Visitor<PrintSExpression> {
void visitHost(Host *curr) {
switch (curr->op) {
case PageSize: printOpening(o, "pagesize") << ')'; break;
- case MemorySize: printOpening(o, "memory_size") << ')'; break;
+ case CurrentMemory: printOpening(o, "current_memory") << ')'; break;
case GrowMemory: {
printOpening(o, "grow_memory");
incIndent();