[jruby-dev] Things needed for proceeding with IR JIT

2014-01-26 Thread Charles Oliver Nutter
I've been working on the IR JIT recently, getting more method argument forms working and reducing the manual specialization I do in the compiler. More code is working because of that, but it increases the need for us to get to a baseline from which we can start specializing and improving the IR. I

Re: [jruby-dev] Things needed for proceeding with IR JIT

2014-01-26 Thread Subramanya Sastry
I attempted to look at heap-scoping today and ran into a couple things > that kept me from making much progress. > > 1. Pre/post logic for heap scope and frame > > ... > I believe we need to move more into explicit call protocols > (instructions to push scope/frame/binding, etc) in the IR, so I can

Re: [jruby-dev] Things needed for proceeding with IR JIT

2014-01-26 Thread Subramanya Sastry
While we are at it, you can also make binding load/store operations explicit in the IR by running AddLocalVarLoadStoreInstructions pass (this should be run after LocalOptimizationPass and before AddCallProtocolInstructions pass). This basically fixes up all local var read/write operations to read/w