summaryrefslogtreecommitdiffstats
path: root/source/slang/ir-constexpr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/ir-constexpr.cpp')
-rw-r--r--source/slang/ir-constexpr.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/slang/ir-constexpr.cpp b/source/slang/ir-constexpr.cpp
index 163f3d98a..c56a15663 100644
--- a/source/slang/ir-constexpr.cpp
+++ b/source/slang/ir-constexpr.cpp
@@ -162,7 +162,7 @@ void maybeAddToWorkList(
{
if( !context->onWorkList.Contains(gv) )
{
- context->workList.Add(gv);
+ context->workList.add(gv);
context->onWorkList.Add(gv);
}
}
@@ -489,10 +489,10 @@ void propagateConstExpr(
// We will iterate applying propagation to one global value at a time
// until we run out.
- while( context.workList.Count() )
+ while( context.workList.getCount() )
{
auto gv = context.workList[0];
- context.workList.FastRemoveAt(0);
+ context.workList.fastRemoveAt(0);
context.onWorkList.Remove(gv);
switch( gv->op )