diff --git a/source/slang/slang-ir.cpp b/source/slang/slang-ir.cpp index e868a4fec4..0a31180880 100644 --- a/source/slang/slang-ir.cpp +++ b/source/slang/slang-ir.cpp @@ -3656,17 +3656,6 @@ IRInst* IRBuilder::emitBitfieldInsert(IRType* type, IRInst* base, IRInst* insert return inst; } -IRInst* IRBuilder::emitPackAnyValue(IRType* type, IRInst* value) -{ - auto inst = createInst( - this, - kIROp_PackAnyValue, - type, - value); - addInst(inst); - return inst; -} - IRInst* IRBuilder::emitAlloca(IRInst* type, IRInst* rttiObjPtr) { auto inst = createInst(this, kIROp_Alloca, (IRType*)type, rttiObjPtr);