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

Merge to update #1

Merged
merged 176 commits into from Feb 5, 2015
Merged

Merge to update #1

merged 176 commits into from Feb 5, 2015

Conversation

chrisseaton
Copy link

It's really important you keep the branch up to date so I can help you most effectively. This merge was already non-trivial and at the moment I can't run a.rb - I get this:

$ jt run --graal core/a.rb 
core/a.rb:1:in `<main>': wrong number of arguments (4 for 0) (ArgumentError)
    from core/a.rb:20:in `<main>'
    from core/a.rb:18:in `each'
    from core/a.rb:18:in `<main>'
    from core/a.rb:9:in `each'
    from core/a.rb:9:in `<main>'

(jt is our helper tool - see tool/jt.rb).

Is that right?

GennadySpb and others added 30 commits January 27, 2015 12:53
Fixed a bug with local_variables ordering and duplicate variables
...to avoid recompiling it every time.
Forgot to match the order of JRuby local variables spec to MRI
add an option which allows to switch to a self-first strategy which might
be able to solve some classloader conflicts.

keep the old tests using the switch to use the SelfFirstClassLoader
To reduce duplicate code between CheckArityNode, ReadKeywordArgumentNode,
ReadKeywordRestArgumentNode move the getKeywordsHash method into
RubyArguments - where all the other argument helper functions live.
[Truffle] deduplicate getKeywordsHash into RubyArguments
The keys must be Strings, not Symbols.  I've also added some common keys used by other implementations.  Finally, the OS will identify as Win32 on Windows, which activates a bunch of Windows-specific logic in RubySpec.
* New design so assumptionInvalidated() drives all barrier synchronizations.
* The global lock is now better separated from barrier synchronization.
* Support interrupts of the barrier by re-creating it (should be relatively rare).
* Done with:
  $ ruby spec/mspec/bin/mspec tag --unguarded --all --add fails -B spec/truffle/truffle.mspec spec/ruby/core/argf -Z
When a keyword argument is not used in the method body there is no frame
slot for the argument resulting a NullPointerException when writing the
argument to the frame.

This fix changes the AST translator to create the frame slot if it
cannot be found by using `findOrAddFrameSlot` instead of
`findFrameSlot`.
[Truffle] Fix null FrameSlot when kwarg is not used
Move methods from BasicObject to Object
eregon and others added 25 commits February 4, 2015 11:31
* So callers do not need to know these details.
Conflicts:
	truffle/src/main/java/org/jruby/truffle/nodes/methods/arguments/CheckArityNode.java
	truffle/src/main/java/org/jruby/truffle/nodes/methods/arguments/ReadKeywordArgumentNode.java
	truffle/src/main/java/org/jruby/truffle/runtime/RubyArguments.java
	truffle/src/main/java/org/jruby/truffle/translator/LoadArgumentsTranslator.java
@fniephaus
Copy link
Owner

Thanks a lot, Chris.
We have to present our findings and implementation tomorrow which is why we weren't able to keep the branch up-to-date.
We'll follow up on this as soon as we can.

fniephaus added a commit that referenced this pull request Feb 5, 2015
@fniephaus fniephaus merged commit 6990a57 into fniephaus:master Feb 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet