diff options
| author | Yong He <yonghe@outlook.com> | 2017-11-13 18:22:03 -0500 |
|---|---|---|
| committer | Yong He <yonghe@outlook.com> | 2017-11-13 18:25:41 -0500 |
| commit | fe22b6f83278d10b4725aaec25438ad9fe8f03c6 (patch) | |
| tree | 3464cc3b072dbcf2367a59276ba39358257eaf4a /source/slang/lower-to-ir.cpp | |
| parent | c9d94248dc73fe41c344b0a23230e597f7b94a2c (diff) | |
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.
Diffstat (limited to 'source/slang/lower-to-ir.cpp')
| -rw-r--r-- | source/slang/lower-to-ir.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
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<DeclLoweringVisitor, LoweredValInfo> 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. |
