forked from jruby/jruby
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move call info setup closer to handle build
Different types of methods will have different mechanisms for passing the kwargs callInfo along. * "Generic" handles just using DynamicMethod.call can use the forms that take int callInfo. All existing implementations of that set the thread-local anyway, but we have at least pushed the flags up to this point. * Jitted Ruby methods do not yet accept callInfo as a paramter so all such calls should be wrapped by callInfo thread-local. * Native core methods do not yet accept callInfo as a parameter so all such calls should be wrapped by callInfo thread-local. * Construction with new/initialize does not yet accept callInfo as a parameter so all such calls should be wrapped by callInfo thread-local. I do not believe any other cases being built for indy dispatch right now end up in core that cares about keywords, so the flags do not need to be set.
- Loading branch information
Showing
1 changed file
with
23 additions
and
16 deletions.
There are no files selected for viewing
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