diff options
Diffstat (limited to 'source/slang/slang-ir-specialize.cpp')
| -rw-r--r-- | source/slang/slang-ir-specialize.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/slang-ir-specialize.cpp b/source/slang/slang-ir-specialize.cpp index 3fc3b153d..26f54a271 100644 --- a/source/slang/slang-ir-specialize.cpp +++ b/source/slang/slang-ir-specialize.cpp @@ -1339,8 +1339,8 @@ struct SpecializationContext // TODO: We probably need/want a more robust test here. // For now we are just look into the dependency graph of the inst and // see if there are any opcodes that are causing problems. - List<IRInst*> localWorkList; - HashSet<IRInst*> processedInsts; + InstWorkList localWorkList(inst->getModule()); + InstHashSet processedInsts(inst->getModule()); localWorkList.add(inst); processedInsts.add(inst); |
