forked from jruby/jruby
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
* Takes 8s alone!
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
…s, (trace child)]
* 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
Thanks a lot, Chris. |
This was referenced Feb 5, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
is our helper tool - seetool/jt.rb
).Is that right?