Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reuse wrapper functions rather than ccalling directly to jl_array_del_*/jl_array_grow_* #26667

Merged
merged 1 commit into from
Mar 31, 2018

Conversation

jrevels
Copy link
Member

@jrevels jrevels commented Mar 30, 2018

There might've been a reason that these wrappers weren't being reused - apologies if that's the case and I missed something.

If I can assume that Base code reliably uses these wrappers as the entry point to jl_array_del_*/jl_array_grow_*, Cassette's metadata propagation framework doesn't have to do as much foreigncall interception (it redirects certain array primitives called on Cassette.Box{<:Array} values). That might not be a tenable assumption though...

@StefanKarpinski
Copy link
Sponsor Member

Probably just historical—I think these calls probably existed before those wrappers did.

@jrevels jrevels merged commit b302238 into master Mar 31, 2018
@jrevels jrevels deleted the jr/growdelarrayprimitive branch March 31, 2018 15:51
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.

None yet

3 participants