-
Notifications
You must be signed in to change notification settings - Fork 392
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
Remove dead code from SwitchAnalyzer #5182
Comments
@0xdaryl Hey! I love to help on this. |
Hi... Thanks for volunteering to help. By "fold code" I mean simplifying the code assuming the values of those variables will always be "0". For example, the |
|
…ting issues Closes eclipse#5182 Signed-off-by: BradleyWood <bradley.wood@ibm.com>
…ting issues Closes eclipse#5182 Signed-off-by: BradleyWood <bradley.wood@ibm.com>
…ting issues Closes eclipse#5182 Signed-off-by: BradleyWood <bradley.wood@ibm.com>
While investigating a
loadaddr
issue, I discovered a dead path inSwitchAnalyzer::addTableBlock
. It looks to be a remnant of earlier refactoring.omr/compiler/optimizer/SwitchAnalyzer.cpp
Line 1260 in b8634d5
branchTableSymRef
andbranchTable
are never changed from their initial values. Remove and fold code assuming both are0
.The text was updated successfully, but these errors were encountered: