-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix #114, add special cased analysis pass for mutithreading code
For the time being, we will add special analysis pass to analyze multithreading code with `Threads.@spawn` and `Threads.@threads` macros, in which threaded code is represented as a closure. `NativeInterpreter` doesn't run type inference nor optimization on the body of those closures when compiling threading code, but JET will try to run additional analysis pass by recurring into the closures. NOTE JET won't do anything other than doing JET analysis, e.g. won't annotate return type of threaded code block in order to not confuse the original `AbstractInterpreter` routine.
- Loading branch information
Showing
3 changed files
with
99 additions
and
15 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