summaryrefslogtreecommitdiff
path: root/source/slang/ir-bind-existentials.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/ir-bind-existentials.cpp')
-rw-r--r--source/slang/ir-bind-existentials.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/slang/ir-bind-existentials.cpp b/source/slang/ir-bind-existentials.cpp
index f87a7d233..f0c02dd67 100644
--- a/source/slang/ir-bind-existentials.cpp
+++ b/source/slang/ir-bind-existentials.cpp
@@ -285,7 +285,7 @@ struct BindExistentialSlots
UInt slotOperandCount = slotCount*2;
List<IRInst*> slotOperands;
for(UInt ii = 0; ii < slotOperandCount; ++ii)
- slotOperands.Add(slotArgs[ii].get());
+ slotOperands.add(slotArgs[ii].get());
// We are going to create a proxy type that represents
// the results of plugging all the information
@@ -294,7 +294,7 @@ struct BindExistentialSlots
auto newType = builder.getBindExistentialsType(
fullType,
slotOperandCount,
- slotOperands.Buffer());
+ slotOperands.getBuffer());
// We will replace the type of the original parameter
// with the new proxy type.
@@ -315,7 +315,7 @@ struct BindExistentialSlots
//
List<IRUse*> usesToReplace;
for(auto use = inst->firstUse; use; use = use->nextUse )
- usesToReplace.Add(use);
+ usesToReplace.add(use);
// Now we can loop over our list of uses and replace each.
//
@@ -329,7 +329,7 @@ struct BindExistentialSlots
fullType,
inst,
slotOperandCount,
- slotOperands.Buffer());
+ slotOperands.getBuffer());
// Second we make the use site point at the new
// value instead.