-
Notifications
You must be signed in to change notification settings - Fork 12.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix memory error by reversing the order of two lines in LoadStoreVect…
…orizer.cpp const auto &VecTo = EQClasses[KeyTo] const auto &VecFrom = EQClasses[KeyFrom] The entry for KeyTo may not exist before the request, unlike KeyFrom. Therefore, the vector of instructions for KeyTo must be requested firs to avoid invalidation of the reference to the instructions vector for KeyFrom This commit also slightly aligns the debug printings and adds one more LIT case.
- Loading branch information
1 parent
b0feb61
commit c57ce51
Showing
2 changed files
with
46 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters