diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2018-09-17 12:01:52 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-09-17 12:01:52 -0400 |
| commit | 091f89aaf379d93a40a718a92a27e6c5ef2cbb23 (patch) | |
| tree | 6a28885f97cea0b6eda3b62e41907323736ecf0d /source | |
| parent | 8a150a948c5de57dffa6f8e0a4c1c96acc69ac0a (diff) | |
Remove IRDeclRef as recommended in comments for PR #635 as no longer used. (#638)
Diffstat (limited to 'source')
| -rw-r--r-- | source/slang/ir-insts.h | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/source/slang/ir-insts.h b/source/slang/ir-insts.h index 644036e89..f57e69ba1 100644 --- a/source/slang/ir-insts.h +++ b/source/slang/ir-insts.h @@ -117,19 +117,9 @@ struct IRNameHintDecoration : IRDecoration Name* name; }; -// - -// An IR node to represent a reference to an AST-level -// declaration. -struct IRDeclRef : IRInst -{ - Decl* declRef; -}; - // An instruction that specializes another IR value -// (representing a generic) to a particular set of -// generic arguments (encoded via an `IRDeclRef`) -// +// (representing a generic) to a particular set of generic arguments +// (instructions representing types, witness tables, etc.) struct IRSpecialize : IRInst { // The "base" for the call is the generic to be specialized @@ -141,7 +131,6 @@ struct IRSpecialize : IRInst IRInst* getArg(UInt index) { return getOperand(index + 1); } IR_LEAF_ISA(Specialize) - }; // An instruction that looks up the implementation |
