diff options
| author | Yong He <yonghe@outlook.com> | 2018-01-13 14:30:37 -0500 |
|---|---|---|
| committer | Yong He <yonghe@outlook.com> | 2018-01-13 14:30:37 -0500 |
| commit | 99f49e42fd3d55b0404261379d68dcca2b350209 (patch) | |
| tree | c825b9bb327cca879c148069e1d9c74c68b59226 /source/slang/ir.cpp | |
| parent | 4b284daeb0cc3f6df0835befad4326c81abeb374 (diff) | |
remove out-of-date changes
Diffstat (limited to 'source/slang/ir.cpp')
| -rw-r--r-- | source/slang/ir.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/slang/ir.cpp b/source/slang/ir.cpp index 3abc2e2e3..46eff33e9 100644 --- a/source/slang/ir.cpp +++ b/source/slang/ir.cpp @@ -3690,12 +3690,12 @@ namespace Slang cloneFunctionCommon(context, clonedFunc, originalFunc); // for now, clone all unreferenced witness tables - for (auto gv = context->getOriginalModule()->getFirstGlobalValue(); + /*for (auto gv = context->getOriginalModule()->getFirstGlobalValue(); gv; gv = gv->getNextValue()) { if (gv->op == kIROp_witness_table) cloneGlobalValue(context, (IRWitnessTable*)gv); - } + }*/ // We need to attach the layout information for // the entry point to this declaration, so that @@ -4746,9 +4746,7 @@ namespace Slang // // We will first find or construct a specialized version // of the callee funciton/ - auto originalFunc = dumpIRFunc(genericFunc); auto specFunc = getSpecializedFunc(sharedContext, genericFunc, specDeclRef); - auto specFuncStr = dumpIRFunc(specFunc); // // Then we will replace the use sites for the `specialize` // instruction with uses of the specialized function. |
