Skip to content

Refactor the global call-policy system, honor for implicit smart ptr conversions - #110

Open
aaronj0 wants to merge 2 commits into
compiler-research:mainfrom
aaronj0:smartptr-policy-flag
Open

aaronj0 wants to merge 2 commits into
compiler-research:mainfrom
aaronj0:smartptr-policy-flag

Conversation

@aaronj0

@aaronj0 aaronj0 commented Sep 23, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@aaronj0
aaronj0 force-pushed the smartptr-policy-flag branch from 077df5c to 9f03fdd Compare September 23, 2026 18:01
@aaronj0
aaronj0 requested a review from guitargeek September 24, 2026 11:06
@aaronj0
aaronj0 force-pushed the smartptr-policy-flag branch from 9f03fdd to a8055ae Compare September 29, 2026 12:40
Consolidate the scattered per-policy globals into one flag word with a
single accessor, so call-time policy checks read one place and new
policies do not add module-level state.
SmartPtrConverter wrapped ordinary objects into the smart pointer
unconditionally; respect the global implicit smart-pointer conversion
policy like the other implicit-conversion sites.
@aaronj0
aaronj0 force-pushed the smartptr-policy-flag branch from a8055ae to d897cc0 Compare September 30, 2026 15:54
aaronj0 added a commit to aaronj0/root that referenced this pull request Sep 30, 2026
…s [upstream]

Consolidate the scattered per-policy globals into one flag word with a
single accessor, so call-time policy checks read one place and new
policies do not add module-level state.

Matches compiler-research/cppjit#110.
aaronj0 added a commit to aaronj0/root that referenced this pull request Sep 30, 2026
…[upstream]

SmartPtrConverter wrapped ordinary objects into the smart pointer
unconditionally; respect the global implicit smart-pointer conversion
policy like the other implicit-conversion sites.

Matches compiler-research/cppjit#110.
aaronj0 added a commit to aaronj0/root that referenced this pull request Oct 1, 2026
…s [upstream]

Consolidate the scattered per-policy globals into one flag word with a
single accessor, so call-time policy checks read one place and new
policies do not add module-level state.

Matches compiler-research/cppjit#110.
aaronj0 added a commit to aaronj0/root that referenced this pull request Oct 1, 2026
…[upstream]

SmartPtrConverter wrapped ordinary objects into the smart pointer
unconditionally; respect the global implicit smart-pointer conversion
policy like the other implicit-conversion sites.

Matches compiler-research/cppjit#110.
aaronj0 added a commit to aaronj0/root that referenced this pull request Oct 1, 2026
…s [upstream]

Consolidate the scattered per-policy globals into one flag word with a
single accessor, so call-time policy checks read one place and new
policies do not add module-level state.

Matches compiler-research/cppjit#110.
aaronj0 added a commit to aaronj0/root that referenced this pull request Oct 1, 2026
…[upstream]

SmartPtrConverter wrapped ordinary objects into the smart pointer
unconditionally; respect the global implicit smart-pointer conversion
policy like the other implicit-conversion sites.

Matches compiler-research/cppjit#110.
aaronj0 added a commit to aaronj0/root that referenced this pull request Oct 1, 2026
…s [upstream]

Consolidate the scattered per-policy globals into one flag word with a
single accessor, so call-time policy checks read one place and new
policies do not add module-level state.

Matches compiler-research/cppjit#110.
aaronj0 added a commit to aaronj0/root that referenced this pull request Oct 1, 2026
…[upstream]

SmartPtrConverter wrapped ordinary objects into the smart pointer
unconditionally; respect the global implicit smart-pointer conversion
policy like the other implicit-conversion sites.

Matches compiler-research/cppjit#110.
aaronj0 added a commit to aaronj0/root that referenced this pull request Oct 2, 2026
…s [upstream]

Consolidate the scattered per-policy globals into one flag word with a
single accessor, so call-time policy checks read one place and new
policies do not add module-level state.

Matches compiler-research/cppjit#110.
aaronj0 added a commit to aaronj0/root that referenced this pull request Oct 2, 2026
…[upstream]

SmartPtrConverter wrapped ordinary objects into the smart pointer
unconditionally; respect the global implicit smart-pointer conversion
policy like the other implicit-conversion sites.

Matches compiler-research/cppjit#110.
aaronj0 added a commit that referenced this pull request Oct 3, 2026
…s [upstream]

Consolidate the scattered per-policy globals into one flag word with a
single accessor, so call-time policy checks read one place and new
policies do not add module-level state.

Matches #110.
aaronj0 added a commit that referenced this pull request Oct 3, 2026
…[upstream]

SmartPtrConverter wrapped ordinary objects into the smart pointer
unconditionally; respect the global implicit smart-pointer conversion
policy like the other implicit-conversion sites.

Matches #110.
aaronj0 added a commit to root-project/root that referenced this pull request Oct 3, 2026
…s [upstream]

Consolidate the scattered per-policy globals into one flag word with a
single accessor, so call-time policy checks read one place and new
policies do not add module-level state.

Matches compiler-research/cppjit#110.
aaronj0 added a commit to root-project/root that referenced this pull request Oct 3, 2026
…[upstream]

SmartPtrConverter wrapped ordinary objects into the smart pointer
unconditionally; respect the global implicit smart-pointer conversion
policy like the other implicit-conversion sites.

Matches compiler-research/cppjit#110.

This branch has not been deployed

No deployments
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.

1 participant