summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2025-01-28 01:32:07 -0800
committerGitHub <noreply@github.com>2025-01-28 01:32:07 -0800
commit92a48f6003254fc0c9323353eafed06596326232 (patch)
tree021a515481f6ac021c3b70124ca70203add10202 /source
parent4b9a34249d560a86d1333420f6cd06f6fe502c9d (diff)
Delete invalid ASSERT in `isTypeOperandEqual`. (#6196)
Diffstat (limited to 'source')
-rw-r--r--source/slang/slang-ir.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/slang/slang-ir.cpp b/source/slang/slang-ir.cpp
index a328057ac..32acc7baa 100644
--- a/source/slang/slang-ir.cpp
+++ b/source/slang/slang-ir.cpp
@@ -7394,8 +7394,6 @@ static bool _isTypeOperandEqual(IRInst* a, IRInst* b)
{
return _areTypeOperandsEqual(a, b);
}
- SLANG_ASSERT(!"Unhandled comparison");
-
// We can't equate any other type..
return false;
}