-
-
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: 3a4eefb04d53
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: 8e4ba2145ead
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 3 commits
- 7 files changed
- 1 contributor
Commits on Nov 8, 2017
-
Fix block escaping logic in interpreter one arg block calls.
The "full" interpreter inlines some call logic to avoid extra dispatch. In this case, the logic it inlined did not include logic to only escape the block if it were passed as a literal block. Instead, it escaped it all the time. Interestingly, the actual instruction (used by the startup interpreter) was wrong in the opposite way: it never escaped the block. Both places have been fixed to do the right thing and comments added to help ensure they remain the same. Fixes #4841.
Configuration menu - View commit details
-
Copy full SHA for c7ce51d - Browse repository at this point
Copy the full SHA c7ce51dView commit details -
Add spec for looped delegation of a block containing a break.
In #4841 we found that JRuby was incorrectly marking a delegated block (passed via &block) as having "escaped". We use this escape bit to know whether non-local flow control like break has a valid target, and so prematurely marking a delegated block as escaped caused the second iteration's break to raise an error. The test here loops twice, which is sufficient to test that the block's break continues to work on the n+1 iteration.
Configuration menu - View commit details
-
Copy full SHA for e09a7bb - Browse repository at this point
Copy the full SHA e09a7bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e4ba21 - Browse repository at this point
Copy the full SHA 8e4ba21View commit details
There are no files selected for viewing