summaryrefslogtreecommitdiff
path: root/src/passes/Precompute.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/Precompute.cpp')
-rw-r--r--src/passes/Precompute.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/Precompute.cpp b/src/passes/Precompute.cpp
index 156c33c3f..bbaa6d533 100644
--- a/src/passes/Precompute.cpp
+++ b/src/passes/Precompute.cpp
@@ -190,7 +190,7 @@ public:
} else {
*canonical = *newGCData;
}
- return Literal(canonical, curr->type);
+ return Literal(canonical, curr->type.getHeapType());
}
};