-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup and improvements regarding sparse bit
- Remove remainders from an earlier refactoring (local variable `_isDataBoundByPC` is not used) - The check for this variable in UserRuntimeZero was thus always false - However, calls to join (label groups) are already put under a conditional checking the sparse bit in the Stack2JS phase - Also `wrap_block_rhs` seems to already only occour under such a conditional generated by Stack2JS, so that the blocking label is only updated when the sparse bit is not set. The function wrap_block_rhs thus becomes redundant, as it only returns its argument. - Make code less redundant - Use consistent naming: use "sparse bit" in all places, instead of "bound slot" etc.
- Loading branch information
1 parent
b7e6532
commit 4260d0b
Showing
3 changed files
with
96 additions
and
108 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
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