summaryrefslogtreecommitdiff
path: root/source/slang/slang-emit-cpp.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-emit-cpp.h')
-rw-r--r--source/slang/slang-emit-cpp.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/source/slang/slang-emit-cpp.h b/source/slang/slang-emit-cpp.h
index 29d6e215e..e12493b5a 100644
--- a/source/slang/slang-emit-cpp.h
+++ b/source/slang/slang-emit-cpp.h
@@ -106,10 +106,6 @@ protected:
UnownedStringSlice _getFuncName(const HLSLIntrinsic* specOp);
- // Returns a StringSlice representing the mangled name of a witness table
- // wrapper function.
- UnownedStringSlice _getWitnessTableWrapperFuncName(IRFunc* func);
-
UnownedStringSlice _getTypeName(IRType* type);
SlangResult _calcCPPTextureTypeName(IRTextureTypeBase* texType, StringBuilder& outName);
@@ -127,19 +123,12 @@ protected:
// of all the witness table objects in `pendingWitnessTableDefinitions`.
void _emitWitnessTableDefinitions();
- // Emit wrapper functions that are referenced in witness tables.
- // Wrapper functions wraps the actual member function, and takes a `void*`
- // as the `this` parameter instead of the actual object type, so that
- // their signature is agnostic to the object type.
- void _emitWitnessTableWrappers();
-
HLSLIntrinsic* _addIntrinsic(HLSLIntrinsic::Op op, IRType* returnType, IRType*const* argTypes, Index argTypeCount);
static bool _isVariable(IROp op);
Dictionary<IRType*, StringSlicePool::Handle> m_typeNameMap;
Dictionary<const HLSLIntrinsic*, StringSlicePool::Handle> m_intrinsicNameMap;
- Dictionary<IRFunc*, StringSlicePool::Handle> m_witnessTableWrapperFuncNameMap;
IRTypeSet m_typeSet;