diff options
| author | Yong He <yonghe@outlook.com> | 2018-01-15 19:22:39 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-01-15 19:22:39 -0800 |
| commit | 68fd4485708bf98c66e27e330692138f3eb6f289 (patch) | |
| tree | b2bac3c7fdf9f1bd218e2b448a0fd5cf03a467fd /source/slang/ir.cpp | |
| parent | 8abae0515d734c51e7d55c44ccfdadefea8c6802 (diff) | |
| parent | 513f56b85e3678bbaf40f74397e8d9a864761c08 (diff) | |
Merge pull request #367 from csyonghe/extension2
Support transitive interfaces
Diffstat (limited to 'source/slang/ir.cpp')
| -rw-r--r-- | source/slang/ir.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/ir.cpp b/source/slang/ir.cpp index 46eff33e9..45ad71b67 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 |
