summaryrefslogtreecommitdiff
path: root/source/slang/slang-emit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-emit.cpp')
-rw-r--r--source/slang/slang-emit.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/source/slang/slang-emit.cpp b/source/slang/slang-emit.cpp
index 670848002..345dfe9b2 100644
--- a/source/slang/slang-emit.cpp
+++ b/source/slang/slang-emit.cpp
@@ -474,15 +474,6 @@ String emitEntryPoint(
break;
}
- // If we have obfuscation strip
- if (compileRequest->getLinkage()->m_obfuscateCode)
- {
- IRStripOptions options;
- options.shouldStripNameHints = true;
- options.stripSourceLocs = true;
- stripFrontEndOnlyInstructions(irModule, options);
- }
-
// The resource-based specialization pass above
// may create specialized versions of functions, but
// it does not try to completely eliminate the original