summaryrefslogtreecommitdiffstats
path: root/source/slang/slang.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang.cpp')
-rw-r--r--source/slang/slang.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/slang/slang.cpp b/source/slang/slang.cpp
index 8aea1bc37..9c75aa63e 100644
--- a/source/slang/slang.cpp
+++ b/source/slang/slang.cpp
@@ -132,6 +132,7 @@ void Session::init()
{
SLANG_ASSERT(BaseTypeInfo::check());
+
_initCodeGenTransitionMap();
::memset(m_downstreamCompilerLocators, 0, sizeof(m_downstreamCompilerLocators));
@@ -144,6 +145,9 @@ void Session::init()
m_sharedLibraryLoader = DefaultSharedLibraryLoader::getSingleton();
+ // Set up the command line options
+ initCommandOptions(m_commandOptions);
+
// Set up shared AST builder
m_sharedASTBuilder = new SharedASTBuilder;
m_sharedASTBuilder->init(this);