From 00e1dba744dc8d09bc59d0a46f18076e3704c566 Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Thu, 2 Apr 2020 17:06:16 -0400 Subject: Optimize creation of memberDictionary (#1305) * Improve performance of building members dictionary by adding when needed. * Fix unbounded-array-of-array-syntax.slang, that DISABLE_TEST now uses up an index. Use IGNORE_TEST. * Improve variable name. Small improvements. Co-authored-by: Tim Foley --- source/slang/slang-check-modifier.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source/slang/slang-check-modifier.cpp') diff --git a/source/slang/slang-check-modifier.cpp b/source/slang/slang-check-modifier.cpp index 473b5e5da..97da31f39 100644 --- a/source/slang/slang-check-modifier.cpp +++ b/source/slang/slang-check-modifier.cpp @@ -189,8 +189,7 @@ namespace Slang // attrDecl->ParentDecl = parentDecl; parentDecl->Members.add(attrDecl); - parentDecl->memberDictionaryIsValid = false; - + // Finally, we perform any required semantic checks on // the newly constructed attribute decl. // -- cgit v1.2.3