[IR] Begin/end block share scope of its lexical parent.

* Thus far, begin/end block were getting their own scope whereas
  they ought to share their parent's scope just like for-loops.
  This patch fixes it.

* One more spec now green. More debugging needed to figure out
  why the other BEGIN_spec is still failing.
Add a size method to RubyRange to resolve #1252
Fixes #1245. Undefined method exception when using compass watch in jruby 1.7.8.  This is actually a regression from native Pathname addition.  Some methods which should use class of caller was instead using Pathname.  This is far from clear since some Pathname methods do seem to use Pathname and not subclass.
Fixes #1245. Undefined method exception when using compass watch in jruby 1.7.8.  This is actually a regression from native Pathname addition.  Some methods which should use class of caller was instead using Pathname.  This is far from clear since some Pathname methods do seem to use Pathname and not subclass.
Unbreak tests due to utf-8 chars in non-coded utf-8 file
Merge with jruby-1_7
Java enumerators lazily compute Enumerator#size

For internally created enumerators (i.e. created with
enumeratorizeWithSize), ensure that calls to Enumerator#size reflect the
current size of the underlying object being enumerated by
introducing a function type which can be lazily computed on calls to
Enumerator#size.
Support for Integer#{down|up}to.size
Bump for 1.7.9
Bump for next dev version
Remove redundancy in string comparison methods

This change removes a redundant RubyString type check and branch in
RubyString's `compareTo` method. It also combines the `op_cmp19` and
`op_cmpCommon` methods, as there is no longer a need to separate these
paths (since the Ruby 1.8 `op_cmp` method is no more). Additionally,
calls directly to `op_cmp19` are replaced with calls to `op_cmp`.
Implement JRuby equivalent of `invcmp`

This method performs an inverse comparison (comparing other with self)
with a recursive call gaurd.
Use `invcmp` for String and Time `<=>` operators
Merge pull request #1316 from jballanc/invcmp-impl

Implement `invcmp` and use it with String and Time
Use frame class from block, not from context. Fixes #1318.

There's no frame from which to get the class, so we can't get it
from ThreadContext here. Get it from the proc.

Note that there's a more difficult issue here in that there's also
no frame/backtrace/etc on the ThreadContext for invoking a
TracePoint interested in these thread events. Fixing that might
mean making a frame be available at this point, making this fix
unnecessary...but either way the class reference used in this fix
will still be correct.
Use uppercased name to get RubyEvent from TracePoint event.
Added test case to reproduce issue #1311.

Signed-off-by: Charles Oliver Nutter <headius@headius.com>
Making the test pass

Signed-off-by: Charles Oliver Nutter <headius@headius.com>
using an inline if

Signed-off-by: Charles Oliver Nutter <headius@headius.com>
FIxing bad indentation

Signed-off-by: Charles Oliver Nutter <headius@headius.com>