summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-ir-inline.cpp
diff options
context:
space:
mode:
authorJay Kwak <82421531+jkwak-work@users.noreply.github.com>2024-10-28 16:40:53 -0700
committerGitHub <noreply@github.com>2024-10-28 16:40:53 -0700
commitb7a619b45b0745f166d2dcc5985b994fb1d85d13 (patch)
treea1fbae9702899bf574624641f31bf17d9dd54999 /source/slang/slang-ir-inline.cpp
parent80471601720e107f0914479f6097281d0840cf18 (diff)
Replace the word stdlib or standard-library with core-module for source code (#5415)
This commit changes the word "stdlib" or "standard library" to "core module" in the source code.
Diffstat (limited to 'source/slang/slang-ir-inline.cpp')
-rw-r--r--source/slang/slang-ir-inline.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/slang/slang-ir-inline.cpp b/source/slang/slang-ir-inline.cpp
index 96e0670b2..d4906759e 100644
--- a/source/slang/slang-ir-inline.cpp
+++ b/source/slang/slang-ir-inline.cpp
@@ -425,18 +425,18 @@ struct InliningPassBase
// An assumption here is that [__unsafeForceInlineEarly] will not be in user code (when we have more
// general inlining this will not follow).
//
- // Therefore we probably *don't* want to copy sourceLoc from the original definition in the stdlib because
+ // Therefore we probably *don't* want to copy sourceLoc from the original definition in the core module because
//
- // * That won't be much use to the user (they can't easily see stdlib code currently for example)
- // * That the definitions in stdlib are currently 'mundane' and largely exist to flesh out language features - such that
- // their being in the stdlib would likely be surprising to users
+ // * That won't be much use to the user (they can't easily see the core module code currently for example)
+ // * That the definitions in the core module are currently 'mundane' and largely exist to flesh out language features - such that
+ // their being in the core module would likely be surprising to users
//
// That being the case, we actually copy the call sites sourceLoc if it's defined, and only fall back
// onto the originating loc, if that's not defined.
//
- // We *could* vary behavior if we knew if the function was defined in the stdlib. There doesn't appear
+ // We *could* vary behavior if we knew if the function was defined in the core module. There doesn't appear
// to be a decoration for this.
- // We could find out by looking at the source loc and checking if it's in the range of stdlib - this would actually be
+ // We could find out by looking at the source loc and checking if it's in the range of the core module - this would actually be
// a fast and easy but to do properly this way you'd want a way to mark that source range that would also work across
// serialization.
//