summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2018-01-15 18:30:11 -0500
committerYong He <yonghe@outlook.com>2018-01-15 18:30:11 -0500
commit513f56b85e3678bbaf40f74397e8d9a864761c08 (patch)
treeb2bac3c7fdf9f1bd218e2b448a0fd5cf03a467fd /source
parent3d4eaf3c9b13e32c4e4d7737f17805503cddcb0b (diff)
cleanup debug code
Diffstat (limited to 'source')
-rw-r--r--source/slang/ir.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/slang/ir.cpp b/source/slang/ir.cpp
index 17ba14c6e..45ad71b67 100644
--- a/source/slang/ir.cpp
+++ b/source/slang/ir.cpp
@@ -4746,9 +4746,7 @@ namespace Slang
//
// We will first find or construct a specialized version
// of the callee funciton/
- auto oldFunc = dumpIRFunc(genericFunc);
auto specFunc = getSpecializedFunc(sharedContext, genericFunc, specDeclRef);
- auto newFunc = dumpIRFunc(specFunc);
//
// Then we will replace the use sites for the `specialize`
// instruction with uses of the specialized function.