summaryrefslogtreecommitdiff
path: root/source/slang/slang-options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-options.cpp')
-rw-r--r--source/slang/slang-options.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/source/slang/slang-options.cpp b/source/slang/slang-options.cpp
index b7f7268d1..e777d27bc 100644
--- a/source/slang/slang-options.cpp
+++ b/source/slang/slang-options.cpp
@@ -2294,11 +2294,6 @@ SlangResult OptionsParser::_parse(int argc, char const* const* argv)
SLANG_RETURN_ON_FAIL(File::readAllBytes(fileName.value, contents));
SLANG_RETURN_ON_FAIL(
m_session->loadCoreModule(contents.getData(), contents.getSizeInBytes()));
-
- // Ensure that the linkage's AST builder is up-to-date.
- linkage->getASTBuilder()->m_cachedNodes =
- asInternal(m_session)->getGlobalASTBuilder()->m_cachedNodes;
-
break;
}
case OptionKind::CompileCoreModule: