diff options
| author | Ellie Hermaszewska <ellieh@nvidia.com> | 2025-07-02 03:03:41 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-01 19:03:41 +0000 |
| commit | 5120c1cd072548654c9ce79fa85426a5e48736c4 (patch) | |
| tree | 989bf03035070bb45e261f513b7c9df2cecb1a30 /source/slang/slang-ir-lower-com-methods.cpp | |
| parent | b903ae06242e28263247122632511e39447b9e11 (diff) | |
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
Diffstat (limited to 'source/slang/slang-ir-lower-com-methods.cpp')
| -rw-r--r-- | source/slang/slang-ir-lower-com-methods.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/slang-ir-lower-com-methods.cpp b/source/slang/slang-ir-lower-com-methods.cpp index 551cccd3b..d51807aa1 100644 --- a/source/slang/slang-ir-lower-com-methods.cpp +++ b/source/slang/slang-ir-lower-com-methods.cpp @@ -32,7 +32,7 @@ struct ComMethodLoweringContext : public InstPassBase SLANG_ASSERT(callee); IRLookupWitnessMethod* innerMostCallee = callee; - while (innerMostCallee->getOperand(0)->getOp() == kIROp_LookupWitness) + while (innerMostCallee->getOperand(0)->getOp() == kIROp_LookupWitnessMethod) { innerMostCallee = as<IRLookupWitnessMethod>(innerMostCallee->getOperand(0)); } @@ -84,7 +84,7 @@ struct ComMethodLoweringContext : public InstPassBase auto funcValue = inst->getOperand(0); // Detect if this is a call into a COM interface method. - if (funcValue->getOp() == kIROp_LookupWitness) + if (funcValue->getOp() == kIROp_LookupWitnessMethod) { const auto operand0TypeOp = funcValue->getOperand(0)->getDataType(); if (auto tableType = as<IRWitnessTableTypeBase>(operand0TypeOp)) |
