Skip to content
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

fix sc when the block after the delay slot is optimized out #721

Merged
merged 2 commits into from
Jul 25, 2021

Conversation

water111
Copy link
Collaborator

;; if the original code is (set! s5 (or v1 s5))

    bnel s7, v1, L41
    or s5, v1, r0

    or s5, s5, r0 ;; <- eliminated, which confused the decompiler as there is no block here
L41:

@coveralls
Copy link

coveralls commented Jul 25, 2021

Pull Request Test Coverage Report for Build 1065326057

  • 20 of 21 (95.24%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.01%) to 68.551%

Changes Missing Coverage Covered Lines Changed/Added Lines %
decompiler/IR2/FormExpressionAnalysis.cpp 3 4 75.0%
Totals Coverage Status
Change from base Build 1065323155: 0.01%
Covered Lines: 38939
Relevant Lines: 56803

💛 - Coveralls

@water111 water111 merged commit 92a5d84 into master Jul 25, 2021
@water111 water111 deleted the w/sc-with-eliminated-move branch July 25, 2021 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants