forked from erlang/otp
-
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.
compiler destructive update: Patch every element of a list
The initial value tracker in the destructive update pass could sometimes fail to ensure that a term which was destructively updated was forced onto the heap as it did not have a way to easily follow list tails. This patch corrects that error by ensuring that if the first element of a literal list is forced onto the heap, all elements of the list will be forced onto the heap.
- Loading branch information
Showing
2 changed files
with
45 additions
and
6 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