-
-
Notifications
You must be signed in to change notification settings - Fork 804
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
this commit fixes transient storage codegen for `slice()` and `extract32()` builtins. previously, some codegen routines were hardcoded to check for storage; this commit changes them to check if they are `word_addressable` instead. this commit also refactors the `extract32()` code generation logic to be simpler and use more recent APIs. the new implementation relies on the optimizer to do some optimizations which in this routine were previously hand-rolled. --------- Co-authored-by: Charles Cooper <[email protected]>
- Loading branch information
1 parent
ee11e3d
commit 63b8d1d
Showing
4 changed files
with
97 additions
and
101 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
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