Use GC zone predicates wherever possible #1593

merged 1 commit into from Mar 6, 2012


None yet

2 participants

Rubinius member

This is a minor clean-up.

In some places, GC zone predicates are used. In others, they aren't for no apparent reason. I think this isn't very good in the consistency and clean-code-base standpoint.

It's clearer to use predicates rather than in-place equality expressions. So, I changed to use GC zone predicates wherever possible.

@dbussink dbussink merged commit 3e8e298 into rubinius:master Mar 6, 2012
Rubinius member

Thanks for merging!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment