forked from JuliaLang/julia
-
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.
* Branch on whether the pass is running on sysimg or jit rather than whether we are in imaging mode or not. This eliminate the need to setup hooks in the JIT to handle sysimg code. * Move the set up of system image global variables completely to the pass. Decouple it from the gvars array and codegen no longer need to know how the tls access will be lowered. * Make the tls getter function an intrinsic Making it easier to catch when the function is used incorrectly. Also make it impossible for the JIT to use a wrong function address. Note that with these changes, the lower PTLS pass isn't an pure optimization anymore. It is now required to generate valid code to access the TLS states.
- Loading branch information
Showing
13 changed files
with
178 additions
and
236 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
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.