From 091f89aaf379d93a40a718a92a27e6c5ef2cbb23 Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Mon, 17 Sep 2018 12:01:52 -0400 Subject: Remove IRDeclRef as recommended in comments for PR #635 as no longer used. (#638) --- source/slang/ir-insts.h | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'source') 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 -- cgit v1.2.3