diff options
Diffstat (limited to 'source/slang/slang-ir-constexpr.cpp')
| -rw-r--r-- | source/slang/slang-ir-constexpr.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/slang/slang-ir-constexpr.cpp b/source/slang/slang-ir-constexpr.cpp index c1f14fe24..883997d8a 100644 --- a/source/slang/slang-ir-constexpr.cpp +++ b/source/slang/slang-ir-constexpr.cpp @@ -209,10 +209,10 @@ void maybeAddToWorkList( PropagateConstExprContext* context, IRInst* gv) { - if( !context->onWorkList.Contains(gv) ) + if( !context->onWorkList.contains(gv) ) { context->workList.add(gv); - context->onWorkList.Add(gv); + context->onWorkList.add(gv); } } @@ -532,7 +532,7 @@ void propagateConstExpr( { auto gv = context.workList[0]; context.workList.fastRemoveAt(0); - context.onWorkList.Remove(gv); + context.onWorkList.remove(gv); switch( gv->getOp() ) { |
