Skip to content

Commit 54400de

Browse files
committed
LLVMTypeAnalyzer: Remove leftover dead code
1 parent 8698a95 commit 54400de

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/engine/internal/llvm/llvmtypeanalyzer.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -235,9 +235,4 @@ bool LLVMTypeAnalyzer::writeTypesMatch(LLVMInstruction *ins, Compiler::StaticTyp
235235
return isVarOrListTypeSafe(argIns.get(), expectedType, log, c);*/
236236

237237
return typesMatch(writeValueType(ins), expectedType);
238-
if (expectedType == Compiler::StaticType::Unknown) {
239-
// Equal unknown types are not considered a match
240-
return false;
241-
} else
242-
return (writeValueType(ins) == expectedType);
243238
}

0 commit comments

Comments
 (0)