summaryrefslogtreecommitdiff
path: root/source/slang/slang-ast-builder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-ast-builder.cpp')
-rw-r--r--source/slang/slang-ast-builder.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/source/slang/slang-ast-builder.cpp b/source/slang/slang-ast-builder.cpp
index 96fb6ac79..bb4f53433 100644
--- a/source/slang/slang-ast-builder.cpp
+++ b/source/slang/slang-ast-builder.cpp
@@ -274,14 +274,6 @@ void ASTBuilder::incrementEpoch()
_getGlobalASTEpochId()++;
}
-void ASTBuilder::_verifyValDescConsistency(Val* val, const ValNodeDesc& expectedDesc)
-{
- if (!val)
- return;
- ValNodeDesc descOut = val->getDesc();
- SLANG_ASSERT(descOut == expectedDesc);
-}
-
NodeBase* ASTBuilder::createByNodeType(ASTNodeType nodeType)
{
const ReflectClassInfo* info = ASTClassInfo::getInfo(nodeType);