Skip to content

Move EffectsOverride to expr.jl#56187

Merged
Keno merged 1 commit intomasterfrom
kf/eotobase
Oct 17, 2024
Merged

Move EffectsOverride to expr.jl#56187
Keno merged 1 commit intomasterfrom
kf/eotobase

Conversation

@Keno
Copy link
Copy Markdown
Member

@Keno Keno commented Oct 16, 2024

It makes sense that we originally added this to the compiler, but these annotations are really a runtime feature that the compiler simply reads to allow it to make additional assumptions. The runtime should not semantically depend on the compiler for this, so move these definitions to expr.jl. The practical effect of this right now is that Base gains a second copy of this code. Post #56128, the compiler will use the Base copy of this.

Split out from #56128.

It makes sense that we originally added this to the compiler, but
these annotations are really a runtime feature that the compiler
simply reads to allow it to make additional assumptions. The runtime
should not semantically depend on the compiler for this, so
move these definitions to expr.jl. The practical effect of this
right now is that Base gains a second copy of this code.
Post #56128, the compiler will use the Base copy of this.

Split out from #56128.
@Keno Keno merged commit 7ee3ba9 into master Oct 17, 2024
@Keno Keno deleted the kf/eotobase branch October 17, 2024 05:20
KristofferC pushed a commit that referenced this pull request Oct 21, 2024
It makes sense that we originally added this to the compiler, but these
annotations are really a runtime feature that the compiler simply reads
to allow it to make additional assumptions. The runtime should not
semantically depend on the compiler for this, so move these definitions
to expr.jl. The practical effect of this right now is that Base gains a
second copy of this code. Post #56128, the compiler will use the Base
copy of this.

Split out from #56128.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants