diff options
Diffstat (limited to 'source/slang/slang-ir-cleanup-void.cpp')
| -rw-r--r-- | source/slang/slang-ir-cleanup-void.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/slang/slang-ir-cleanup-void.cpp b/source/slang/slang-ir-cleanup-void.cpp index 47d982950..7fc9041ec 100644 --- a/source/slang/slang-ir-cleanup-void.cpp +++ b/source/slang/slang-ir-cleanup-void.cpp @@ -22,11 +22,11 @@ namespace Slang return; } - if (workListSet.Contains(inst)) + if (workListSet.contains(inst)) return; workList.add(inst); - workListSet.Add(inst); + workListSet.add(inst); } void processInst(IRInst* inst) @@ -160,7 +160,7 @@ namespace Slang IRInst* inst = workList.getLast(); workList.removeLast(); - workListSet.Remove(inst); + workListSet.remove(inst); processInst(inst); |
