From 5120c1cd072548654c9ce79fa85426a5e48736c4 Mon Sep 17 00:00:00 2001 From: Ellie Hermaszewska Date: Wed, 2 Jul 2025 03:03:41 +0800 Subject: extend fiddle to allow custom lua splices in more places (#7559) * Add fkYAML submodule * Generate slang-ir-inst-defs.h from slang-ir-inst-defs.yaml * generate ir-inst-defs.h * neaten things * neaten inst def parser * add rapidyaml submodule * remove fkyaml * remove fkyaml submodule * remove use of ir-inst-defs.h * format and warnings * fix wasm build * tidy * remove rapidyaml * Extend fiddle to allow custom splices in more places * Use lua to describe ir insts * fix * neaten * neaten * neaten * spelling * neaten * comment comment out assert * merge --- source/slang/slang-ir-any-value-marshalling.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/slang/slang-ir-any-value-marshalling.cpp') diff --git a/source/slang/slang-ir-any-value-marshalling.cpp b/source/slang/slang-ir-any-value-marshalling.cpp index 9fb414db1..ed5f8e4e4 100644 --- a/source/slang/slang-ir-any-value-marshalling.cpp +++ b/source/slang/slang-ir-any-value-marshalling.cpp @@ -1001,7 +1001,7 @@ SlangInt _getAnyValueSizeRaw(IRType* type, SlangInt offset) interfaceType->sourceLoc); return alignUp(offset, 4) + alignUp((SlangInt)size, 4); } - case kIROp_LookupWitness: + case kIROp_LookupWitnessMethod: { auto witnessTableVal = type->getOperand(0); auto key = type->getOperand(1); -- cgit v1.2.3