summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ir/type-updating.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/ir/type-updating.cpp b/src/ir/type-updating.cpp
index e9cf1859b..fb701f64a 100644
--- a/src/ir/type-updating.cpp
+++ b/src/ir/type-updating.cpp
@@ -176,9 +176,6 @@ void GlobalTypeRewriter::mapTypes(const TypeMap& oldToNewTypes) {
}
HeapType getNew(HeapType type) {
- if (type.isBasic()) {
- return type;
- }
auto iter = oldToNewTypes.find(type);
if (iter != oldToNewTypes.end()) {
return iter->second;