Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix reproducible build issue caused by changing memory addresses of l…
…abels When a QASTCompilerInstance is somehow referenced (directly or indirectly) by compiled bytecode, this pulls in references to frames and thus the frames' %!labels lookup hash which was keyed on the nqp::objectid of those labels. Since nqp::objectid uses memory addresses and those may change from run to run, this could lead to differences in build results. Use an incremented id counter instead, just like we do for QAST::Block's cuids.
- Loading branch information
Showing
1 changed file
with
20 additions
and
3 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