Revision 4faf28a83e9fd6c02fd03abc23daf9ea4dcf3a43 authored by Keno Fischer on 15 September 2022, 02:57:54 UTC, committed by Keno Fischer on 15 September 2022, 03:14:28 UTC
Currently we represent an unknown :static_parameter, as `Any`.
However, we actually have a fair bit of additional information
about it. In particular, a value that came from a static parameter
must have been a `valid_tparam` and thus if it's used in `apply_type`
again, we're guaranteed that such a use will be nothrow. This adds
a special lattice element to encode this set of values. The primary
benefit is to be able to prove the nothrow fact about many more
apply_type calls and thus cut down the size of the IR. That said,
at the moment, we cannot prove nothrow for unknown `:static_parameter`
either, but that's a separate bit of work (and we need to do both
to really be able to eliminate common patterns).
1 parent f7dea04
History
File Mode Size
trampolines
.gitignore -rw-r--r-- 33 bytes
Makefile -rw-r--r-- 7.2 KB
README.md -rw-r--r-- 4.1 KB
jl_exports.h -rw-r--r-- 2.1 KB
list_strip_symbols.h -rw-r--r-- 284 bytes
loader.h -rw-r--r-- 3.0 KB
loader_exe.c -rw-r--r-- 2.3 KB
loader_lib.c -rw-r--r-- 10.5 KB
loader_win_utils.c -rw-r--r-- 5.2 KB

README.md

back to top