Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Perform minor cleanup of Power inlineArrayCmp
With the removal of some useless code, some weirdness became apparent in the Power codegen's inlineArrayCmp function. Namely, a variable with the same name was being declared multiple times. Before the dead code was removed, these variables were shadowing each other. However, after the dead code was removed, the declarations ended up in the same scope, leading to a compiler error. To correct this, some small cleanup has been done to this function. It's likely that a more thorough examination will be required in the future, but for now these minor cleanups are sufficient to allow the code to compile. Signed-off-by: Ben Thomas <ben@benthomas.ca>
- Loading branch information
1 parent
ec07d2a
commit 575cfb1
Showing
1 changed file
with
11 additions
and
28 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