Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jruby/jruby
base: e86c673ba2c3
Choose a base ref
...
head repository: jruby/jruby
compare: be2e1484128d
Choose a head ref
  • 5 commits
  • 8 files changed
  • 1 contributor

Commits on Nov 13, 2014

  1. [Truffle] Move frozen status to BasicObject.

    * We can use methods of Kernel and bind them on BasicObject:
    
    > f = Kernel.instance_method :freeze
    => #<UnboundMethod: Kernel#freeze>
    > b=BasicObject.new
    => #<BasicObject:0x62e2d8>
    > is=Kernel.instance_method :frozen?
    => #<UnboundMethod: Kernel#frozen?>
    > is.bind(b).call
    => false
    > f.bind(b).call
    => #<BasicObject:0x47ef28>
    > is.bind(b).call
    => true
    eregon committed Nov 13, 2014
    Copy the full SHA
    a53584d View commit details
    Browse the repository at this point in the history
  2. [Truffle] Make RubyBasicObject.freeze private and propagate to single…

    …ton class.
    
    * Fix bad formatting in frozenError().
    eregon committed Nov 13, 2014
    Copy the full SHA
    fd49351 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    4ce6f73 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    997c325 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    be2e148 View commit details
    Browse the repository at this point in the history