summaryrefslogtreecommitdiff
path: root/src/passes/SpillPointers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/SpillPointers.cpp')
-rw-r--r--src/passes/SpillPointers.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/passes/SpillPointers.cpp b/src/passes/SpillPointers.cpp
index d65c89d3e..36c2ae948 100644
--- a/src/passes/SpillPointers.cpp
+++ b/src/passes/SpillPointers.cpp
@@ -60,9 +60,6 @@ struct SpillPointers : public WalkerPass<LivenessWalker<SpillPointers, Visitor<S
void visitCall(Call* curr) {
visitSpillable(curr);
}
- void visitCallImport(CallImport* curr) {
- visitSpillable(curr);
- }
void visitCallIndirect(CallIndirect* curr) {
visitSpillable(curr);
}
@@ -161,10 +158,6 @@ struct SpillPointers : public WalkerPass<LivenessWalker<SpillPointers, Visitor<S
for (auto*& operand : call->cast<Call>()->operands) {
handleOperand(operand);
}
- } else if (call->is<CallImport>()) {
- for (auto*& operand : call->cast<CallImport>()->operands) {
- handleOperand(operand);
- }
} else if (call->is<CallIndirect>()) {
for (auto*& operand : call->cast<CallIndirect>()->operands) {
handleOperand(operand);