diff options
Diffstat (limited to 'source/slang/slang-ir-witness-table-wrapper.cpp')
| -rw-r--r-- | source/slang/slang-ir-witness-table-wrapper.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/slang/slang-ir-witness-table-wrapper.cpp b/source/slang/slang-ir-witness-table-wrapper.cpp index e30ecc767..751c4bc21 100644 --- a/source/slang/slang-ir-witness-table-wrapper.cpp +++ b/source/slang/slang-ir-witness-table-wrapper.cpp @@ -42,17 +42,13 @@ namespace Slang IRType* paramValType = paramType; IRType* argValType = arg->getDataType(); IRInst* argVal = arg; - bool isParamPointer = false; if (auto ptrType = as<IRPtrTypeBase>(paramType)) { - isParamPointer = true; paramValType = ptrType->getValueType(); } - bool isArgPointer = false; auto argType = arg->getDataType(); if (auto argPtrType = as<IRPtrTypeBase>(argType)) { - isArgPointer = true; argValType = argPtrType->getValueType(); argVal = builder->emitLoad(arg); } |
