-
-
Notifications
You must be signed in to change notification settings - Fork 925
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
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
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: c725c6984de7
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d06fd823d905
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 6 commits
- 66 files changed
- 1 contributor
Commits on Apr 17, 2015
-
StaticScope now has Signature instead of three individual fields. All…
… other changes were made to support this. We encode/decode scopes with a full Signature. Blocks are all rooted in providing a Signature. All IR*Method will provide a Signature. Unfortunately, I stopped at IR level for method types. Over time those should get converted. This corrects all arity issues involving methods and blocks in interp. JIT is still somewhere passing in the wrong values but I will correct that in a followup (this is not a regression). spec:fast:ruby and test:mri both pass so do JIT variants of those tests but I strong suspect we are shelling out in some way and running some of these tests in interp mode. On other note of distinction is that for builtin functions we only construct a subset of information that Signature wants because Arity is only a subset of the info Signature needs. Since there are no exotic signatures in builtins there is a Signature.from(Arity) which will convert to a reasonable analogue or throw if it is special in some way. I tried to leave all deprecated versions of methods and constructors but I might have spaced out a few.
Configuration menu - View commit details
-
Copy full SHA for 512b0a5 - Browse repository at this point
Copy the full SHA 512b0a5View commit details -
1. staticScope.setSignature now only happens when ArgsNode is created…
… and nowhere else (well some dead code which needs to be removed yet). For AOT, IR persistence still needs to be corrected so that we can popular signature when we reify the StaticScope (to be done in a followup commit). 2. CompiledIRMethod now implements IRMethodArgs so this fixed all JIT methods arity errors.
Configuration menu - View commit details
-
Copy full SHA for bff01dd - Browse repository at this point
Copy the full SHA bff01ddView commit details -
Unbreak StaticScope persistence from previous commits. This also indi…
…rectly fixes proper Arity for AOT compiled code.
Configuration menu - View commit details
-
Copy full SHA for 3f09737 - Browse repository at this point
Copy the full SHA 3f09737View commit details -
Configuration menu - View commit details
-
Copy full SHA for b856bd9 - Browse repository at this point
Copy the full SHA b856bd9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2be2987 - Browse repository at this point
Copy the full SHA 2be2987View commit details -
No more requireArgument optionalArguments individual count methods on…
… StaticScope. getSignature replaces it. Remove Arity usage from JIT. All information of a JIT'd method can come from signature on StaticScope now. What is remaining is pushing more Arity out of *Method types, but pre2 is dragging on and this last push will be to use new Signature info to properly implement kwargs.
Configuration menu - View commit details
-
Copy full SHA for d06fd82 - Browse repository at this point
Copy the full SHA d06fd82View commit details
There are no files selected for viewing