-
Notifications
You must be signed in to change notification settings - Fork 300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve #9399 using additions from #9408 #9427
Commits on Sep 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for aaa1faf - Browse repository at this point
Copy the full SHA aaa1fafView commit details -
Configuration menu - View commit details
-
Copy full SHA for 27d853c - Browse repository at this point
Copy the full SHA 27d853cView commit details -
Use a map/dictionary instead of keeping separate lists.
- Use a map (string, record Declaration) to keep a track of records in the SimCode. This allows for a simpler and quicker check. In addition we can update entries easily.
Configuration menu - View commit details
-
Copy full SHA for 40d42e2 - Browse repository at this point
Copy the full SHA 40d42e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for b013cbf - Browse repository at this point
Copy the full SHA b013cbfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e0be2f - Browse repository at this point
Copy the full SHA 3e0be2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c49ce6 - Browse repository at this point
Copy the full SHA 5c49ce6View commit details -
Disable the old creation of record declarations.
- See what fails in the testsuite. - It was actually affecting some tests because nested records were cycling back and messing with the order. Not exactly sure how but is not relevant anymore.
Configuration menu - View commit details
-
Copy full SHA for 0a0dffc - Browse repository at this point
Copy the full SHA 0a0dffcView commit details -
Simplify processing of record declrations.
- Remove returned lists from functions: elaborateNestedRecordDeclarations elaborateRecordDeclarationsFromTypes elaborateRecordDeclarationsForRecord elaborateNestedRecordDeclarations - Remove input lists from functions: - elaborateRecordDeclarationsFromTypes
Configuration menu - View commit details
-
Copy full SHA for 2fc57ee - Browse repository at this point
Copy the full SHA 2fc57eeView commit details -
Make sure we do not overwrite true values to false.
- If an entry already exists in the map and we always update, then there is a chance we might overwrite a 'true' value with a 'false' value for external conversion marker. Check if the entry exists and if it is marked false while then new incoming entry is marked true, then update it. Otherwise do nothing.
Configuration menu - View commit details
-
Copy full SHA for 488e939 - Browse repository at this point
Copy the full SHA 488e939View commit details -
Remove input lists from functions
- Remove input lists from functions: - elaborateNestedRecordDeclarations - elaborateRecordDeclarationsForRecord
Configuration menu - View commit details
-
Copy full SHA for 3762296 - Browse repository at this point
Copy the full SHA 3762296View commit details -
Remove input and output lists from more functions.
- Removed from - elaborateRecordDeclarationsForMetarecords
Configuration menu - View commit details
-
Copy full SHA for 8eb7c59 - Browse repository at this point
Copy the full SHA 8eb7c59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75ae70d - Browse repository at this point
Copy the full SHA 75ae70dView commit details -
Remove input and output lists from more functions.
- Remove input and output lists from functions: - elaborateFunctions2 - elaborateFunction
Configuration menu - View commit details
-
Copy full SHA for 703ef91 - Browse repository at this point
Copy the full SHA 703ef91View commit details -
Convert recursive functions to loops.
- Recursive functions converted to loops: - elaborateNestedRecordDeclarations - elaborateRecordDeclarationsForMetarecords - elaborateRecordDeclarationsFromTypes
Configuration menu - View commit details
-
Copy full SHA for 72e4c04 - Browse repository at this point
Copy the full SHA 72e4c04View commit details -
Rename some functions to be more descriptive.
- elaborateRecordDeclarationsForMetarecords -> collectRecDeclsFromMetaRecordCallExps - elaborateNestedRecordDeclarations -> collectRecDeclsFromTypesVars - elaborateRecordDeclarationsFromTypes -> collectRecDeclsFromTypes - elaborateRecordDeclarationsForRecord -> collectRecDeclsFromType
Configuration menu - View commit details
-
Copy full SHA for 3f1c929 - Browse repository at this point
Copy the full SHA 3f1c929View commit details -
Change how records are collected from metarecordcalls
- Instead of: - traversing all expressions, collecting all meta record calls to a list, and then traversing this list to collect record declarations - collect record declarations while traversing all expressions (without collecting metarecordcalls into a whole new list.)
Configuration menu - View commit details
-
Copy full SHA for 2c081a3 - Browse repository at this point
Copy the full SHA 2c081a3View commit details -
Rename functions to be more descriptive.
- elaborateRecordDeclarations -> collectRecDeclsFromElems
Configuration menu - View commit details
-
Copy full SHA for 237d047 - Browse repository at this point
Copy the full SHA 237d047View commit details -
Convert recursive functions to loops.
- Convert recursive functions to loops: - collectRecDeclsFromElems (used to be `elaborateRecordDeclarations`)
Configuration menu - View commit details
-
Copy full SHA for fc9cdbf - Browse repository at this point
Copy the full SHA fc9cdbfView commit details -
Some minor cleanup and renaming.
- declMap -> recDeclsMap - needsExternalConversion -> usedExternally
Configuration menu - View commit details
-
Copy full SHA for cffb199 - Browse repository at this point
Copy the full SHA cffb199View commit details