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

avoid rooting in some cases #15735

Merged
merged 1 commit into from
Apr 2, 2016
Merged

avoid rooting in some cases #15735

merged 1 commit into from
Apr 2, 2016

Conversation

carnaval
Copy link
Contributor

@carnaval carnaval commented Apr 1, 2016

should fix #15719 (remove gc frame entierly)

@yuyichao

@@ -2434,7 +2434,7 @@ static bool emit_builtin_call(jl_cgval_t *ret, jl_value_t *f, jl_value_t **args,
emit_expr(args[2], ctx);
}
else {
jl_cgval_t v = (ety == (jl_value_t*)jl_any_type ? emit_expr(args[2], ctx) : emit_expr(args[2], ctx));
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice optimization =)

@vtjnash vtjnash merged commit c5d78af into master Apr 2, 2016
@vtjnash vtjnash deleted the ob/yichaoroots branch April 2, 2016 16:15
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.

Unnecessary GC root preceding arrayset
3 participants