summaryrefslogtreecommitdiffstats
path: root/source/core
diff options
context:
space:
mode:
Diffstat (limited to 'source/core')
-rw-r--r--source/core/slang-test-tool-util.cpp4
-rw-r--r--source/core/slang-test-tool-util.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/source/core/slang-test-tool-util.cpp b/source/core/slang-test-tool-util.cpp
index 9a0ebe4f1..d362d7043 100644
--- a/source/core/slang-test-tool-util.cpp
+++ b/source/core/slang-test-tool-util.cpp
@@ -37,12 +37,12 @@ namespace Slang
}
}
-/* static */bool TestToolUtil::hasDeferredStdLib(Index argc, const char*const* argv)
+/* static */bool TestToolUtil::hasDeferredCoreModule(Index argc, const char*const* argv)
{
for (Index i = 0; i < argc; ++i)
{
UnownedStringSlice option(argv[i]);
- if (option == "-load-stdlib" || option == "-compile-stdlib")
+ if (option == "-load-core-module" || option == "-compile-core-module")
{
return true;
}
diff --git a/source/core/slang-test-tool-util.h b/source/core/slang-test-tool-util.h
index 03f3b768e..967dc0fa8 100644
--- a/source/core/slang-test-tool-util.h
+++ b/source/core/slang-test-tool-util.h
@@ -64,8 +64,8 @@ struct TestToolUtil
/// Sets the default preludes on the session based on the executable path
static SlangResult setSessionDefaultPreludeFromExePath(const char* exePath, slang::IGlobalSession* session);
- /// Returns true if the StdLib should not be initialized immediately (eg when doing a -load-stdlib).
- static bool hasDeferredStdLib(Index numArgs, const char*const* args);
+ /// Returns true if the core module should not be initialized immediately (eg when doing a -load-core-module).
+ static bool hasDeferredCoreModule(Index numArgs, const char*const* args);
static SlangResult getDllDirectoryPath(const char* exePath, String& outDllDirectoryPath);
};