diff options
Diffstat (limited to 'src/passes/Directize.cpp')
-rw-r--r-- | src/passes/Directize.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/passes/Directize.cpp b/src/passes/Directize.cpp index 663b8257b..52aa7e087 100644 --- a/src/passes/Directize.cpp +++ b/src/passes/Directize.cpp @@ -58,8 +58,7 @@ struct FunctionDirectizer : public WalkerPass<PostWalker<FunctionDirectizer>> { return; } auto* func = getModule()->getFunction(name); - if (getSig(getModule()->getFunctionType(curr->fullType)) != - getSig(func)) { + if (curr->sig != func->sig) { replaceWithUnreachable(curr); return; } |