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

Get rid of legacy gc use markers #22419

Merged
merged 1 commit into from
Jun 20, 2017
Merged

Get rid of legacy gc use markers #22419

merged 1 commit into from
Jun 20, 2017

Conversation

Keno
Copy link
Member

@Keno Keno commented Jun 18, 2017

They are not needed any more in this brave new world.

Fixes #22415

@ararslan ararslan added the GC Garbage collector label Jun 18, 2017
@ararslan ararslan requested a review from yuyichao June 18, 2017 07:19
src/ccall.cpp Outdated
@@ -2081,7 +2066,6 @@ jl_cgval_t function_sig_t::emit_a_ccall(

// Mark GC use before **and** after the ccall to make sure the arguments
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a few comment that can be removed too. e.g. here and the one before CreateTrap below.

@yuyichao
Copy link
Contributor

Hmmm, I'm seeing a new illegal ptrtoint on LLVM 4.0 with this.

@yuyichao
Copy link
Contributor

The new LLVM 4.0/5.0 failure is fixed by https://reviews.llvm.org/D34335. I'll wait for more comment there before submitting it as a patch here unless someone really needs it.....

I can confirm that this fixes the extra GC roots as well as a few different cases I've noticed later. (e.g. with setfield!)

@yuyichao yuyichao added compiler:codegen Generation of LLVM IR and native code and removed GC Garbage collector labels Jun 18, 2017
They are not needed any more in this brave new world.

Fixes #22415
@Keno Keno merged commit 6db340c into master Jun 20, 2017
@martinholters martinholters deleted the kf/rmmarkers branch June 20, 2017 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler:codegen Generation of LLVM IR and native code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants