summaryrefslogtreecommitdiff
path: root/source/slang/ir-dce.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/ir-dce.cpp')
-rw-r--r--source/slang/ir-dce.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/slang/ir-dce.cpp b/source/slang/ir-dce.cpp
index ba6d7adb9..f1a34bedf 100644
--- a/source/slang/ir-dce.cpp
+++ b/source/slang/ir-dce.cpp
@@ -74,7 +74,7 @@ struct DeadCodeEliminationContext
if(liveInsts.Contains(inst))
return;
liveInsts.Add(inst);
- workList.Add(inst);
+ workList.add(inst);
}
// Given the basic infrastructrure above, let's
@@ -95,10 +95,10 @@ struct DeadCodeEliminationContext
// processing entries off of our work list
// until it goes dry.
//
- while( workList.Count() )
+ while( workList.getCount() )
{
- auto inst = workList.Last();
- workList.RemoveLast();
+ auto inst = workList.getLast();
+ workList.removeLast();
// At this point we know that `inst` is live,
// and we want to start considering which other