summaryrefslogtreecommitdiff
path: root/source/compiler-core/slang-artifact-util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/compiler-core/slang-artifact-util.cpp')
-rw-r--r--source/compiler-core/slang-artifact-util.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/compiler-core/slang-artifact-util.cpp b/source/compiler-core/slang-artifact-util.cpp
index 084d96062..20a729cfa 100644
--- a/source/compiler-core/slang-artifact-util.cpp
+++ b/source/compiler-core/slang-artifact-util.cpp
@@ -48,7 +48,7 @@ namespace Slang {
/* static */ComPtr<IArtifact> ArtifactUtil::createArtifactForCompileTarget(SlangCompileTarget target)
{
- auto desc = ArtifactDescUtil::makeDescFromCompileTarget(target);
+ auto desc = ArtifactDescUtil::makeDescForCompileTarget(target);
return createArtifact(desc);
}
@@ -72,7 +72,7 @@ namespace Slang {
}
// If it's binary like or assembly/source we it's significant
- if (isDerivedFrom(desc.kind, ArtifactKind::BinaryLike) ||
+ if (isDerivedFrom(desc.kind, ArtifactKind::CompileBinary) ||
desc.kind == ArtifactKind::Assembly ||
desc.kind == ArtifactKind::Source)
{
@@ -82,7 +82,7 @@ namespace Slang {
/* Hmm, we might want to have a base class for 'signifiant' payloads,
where signifiance here means somewhat approximately 'the meat' of a compilation result,
as contrasted with 'meta data', 'diagnostics etc'*/
- if (isDerivedFrom(desc.payload, ArtifactPayload::MetaData))
+ if (isDerivedFrom(desc.payload, ArtifactPayload::Metadata))
{
return false;
}