summaryrefslogtreecommitdiff
path: root/source/slang/slang-check-modifier.cpp
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2020-04-02 17:06:16 -0400
committerGitHub <noreply@github.com>2020-04-02 17:06:16 -0400
commit00e1dba744dc8d09bc59d0a46f18076e3704c566 (patch)
treec22a1e0767af2bc46a351ba6b1bf9ee58d8b7791 /source/slang/slang-check-modifier.cpp
parent487d4a4f406c9dd9803ecdca02467d09ee1ecf4a (diff)
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 <tfoleyNV@users.noreply.github.com>
Diffstat (limited to 'source/slang/slang-check-modifier.cpp')
-rw-r--r--source/slang/slang-check-modifier.cpp3
1 files changed, 1 insertions, 2 deletions
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.
//