julia
9a0a1d2d - optimizer: handle `GlobalRef` based on `assume_bindings_static`

Commit
1 year ago
optimizer: handle `GlobalRef` based on `assume_bindings_static` Following up #53750. External abstract interpreters with `assume_bindings_static` enabled assume nothrow-ness of defined `GlobalRef`s no matter if they are constant during abstract interpretation. However, post-#53750, the optimizer’s verification switched to stricter checks, causing errors in such interpreters. This commit makes `IRCode` hold `assume_bindings_static::Bool` info to ensure that inlining and verification behaviors are synced with abstract interpretation.
Author
Committer
Parents
Loading