summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-parser.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-parser.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-parser.cpp')
-rw-r--r--source/slang/slang-parser.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/slang/slang-parser.cpp b/source/slang/slang-parser.cpp
index 03f53634d..4ce4c49b5 100644
--- a/source/slang/slang-parser.cpp
+++ b/source/slang/slang-parser.cpp
@@ -1080,8 +1080,6 @@ namespace Slang
{
member->ParentDecl = container.Ptr();
container->Members.add(member);
-
- container->memberDictionaryIsValid = false;
}
}