From e5a75563a1ba2e378353af8b937b8b7bb0fe2c2b Mon Sep 17 00:00:00 2001 From: Yong He Date: Tue, 21 Jun 2022 14:55:59 -0700 Subject: Lower throwing COM interface method. (#2282) * Lower throwing COM interface method. * Fix. * Fix warnings. Co-authored-by: Yong He --- source/slang/slang-emit.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'source/slang/slang-emit.cpp') diff --git a/source/slang/slang-emit.cpp b/source/slang/slang-emit.cpp index 0bb1d73e5..fb0f65c5f 100644 --- a/source/slang/slang-emit.cpp +++ b/source/slang/slang-emit.cpp @@ -206,12 +206,6 @@ Result linkAndOptimizeIR( switch (target) { case CodeGenTarget::CPPSource: - { - // TODO(JS): - // We want the interface transformation to take place for 'regular' CPPSource for now too. - lowerComInterfaces(irModule, artifactDesc.style, sink); - break; - } case CodeGenTarget::HostCPPSource: { lowerComInterfaces(irModule, artifactDesc.style, sink); -- cgit v1.2.3