forked from FuelLabs/sway
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove pointers from the Sway IR. (FuelLabs#3663)
Remove pointers from IR. The pointers in the IR are not really pointers, but are local variables. We want to add proper pointers to the IR though and naming the local variables as pointers adds ambiguity. This change renames `get_ptr` to `get_local` and removes `ptr` and `mut` from the serialised output. `get_local` no longer performs casts so `cast_ptr` has been added as a stopgap until we add a better solution.
- Loading branch information
Showing
67 changed files
with
1,254 additions
and
1,409 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.