From 57f737dc5111b75e2c9591b83eacd2219ea67d07 Mon Sep 17 00:00:00 2001 From: Yong He Date: Mon, 13 Nov 2017 18:22:03 -0500 Subject: Legalization of function parameter types. This commit addresses issue #275 This commit includes following changes: 1. legalize function parameter IRParam instructions 2. legalize function parameter types in IRFuncType 3. legalize call sites (IRCall) with proper arguments 4. legalize local vars that has a mixed resource type. --- source/slang/lower-to-ir.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'source/slang/lower-to-ir.cpp') diff --git a/source/slang/lower-to-ir.cpp b/source/slang/lower-to-ir.cpp index bbbc1812b..759c386cd 100644 --- a/source/slang/lower-to-ir.cpp +++ b/source/slang/lower-to-ir.cpp @@ -2850,7 +2850,6 @@ struct DeclLoweringVisitor : DeclVisitor IRType* irParamType = irResultType; paramTypes.Add(irParamType); subBuilder->emitParam(irParamType); - // TODO: we need some way to wire this up to the `newValue` // or whatever name we give for that parameter inside // the setter body. -- cgit v1.2.3