diff options
Diffstat (limited to 'source/slang/slang-ir-propagate-func-properties.cpp')
| -rw-r--r-- | source/slang/slang-ir-propagate-func-properties.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/slang-ir-propagate-func-properties.cpp b/source/slang/slang-ir-propagate-func-properties.cpp index 5b673e02a..7ce4bfc80 100644 --- a/source/slang/slang-ir-propagate-func-properties.cpp +++ b/source/slang/slang-ir-propagate-func-properties.cpp @@ -15,7 +15,7 @@ bool propagateFuncProperties(IRModule* module) auto addToWorkList = [&](IRFunc* f) { - if (workListSet.Add(f)) + if (workListSet.add(f)) workList.add(f); }; auto addCallersToWorkList = [&](IRFunc* f) @@ -49,7 +49,7 @@ bool propagateFuncProperties(IRModule* module) { bool changed = false; workList.clear(); - workListSet.Clear(); + workListSet.clear(); // Add side effect free functions and their transitive callers to work list. for (auto inst : module->getGlobalInsts()) |
