summaryrefslogtreecommitdiff
path: root/source/slang/slang-artifact-output-util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-artifact-output-util.cpp')
-rw-r--r--source/slang/slang-artifact-output-util.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/slang-artifact-output-util.cpp b/source/slang/slang-artifact-output-util.cpp
index 3cb0e6c93..dcd6eb84e 100644
--- a/source/slang/slang-artifact-output-util.cpp
+++ b/source/slang/slang-artifact-output-util.cpp
@@ -33,12 +33,12 @@ namespace Slang
}
return SLANG_FAIL;
}
- // Get the downstream compiler that can be used for this target
+ // Get the downstream disassembler that can be used for this target
// TODO(JS):
// This could perhaps be performed in some other manner if there was more than one way to produce
// disassembly from a binary.
- const CodeGenTarget target = (CodeGenTarget)ArtifactDescUtil::getCompileTargetFromDesc(desc);
+ const CodeGenTarget target = (CodeGenTarget)ArtifactDescUtil::getCompileTargetFromDesc(assemblyDesc);
if (target == CodeGenTarget::Unknown)
{
return SLANG_FAIL;