Skip to content
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

bin/ast Add of IR Debugging Features #876

merged 17 commits into from Jul 11, 2013


Copy link

@komax komax commented Jul 11, 2013


as discussed with @enebo and subbu I did a the following:

  • moved dot graph generation into own new module DotGraph
  • created a new flag -p --pass to only dump ir after -p <pass_name>
  • -h shows which <pass_name>s are available
  • --f, --formatted-ir to print the IR in a concise format
    • indentation for each lexical scope like in the Ruby source code
    • line numbers for IR as in toStringInstrs()
    • The scope name is prepended
    • -i works as before
    • various require 'jruby' are merged into a single require in the beginning of the Ruby file
enebo added a commit that referenced this pull request Jul 11, 2013
bin/ast Add of IR Debugging Features
@enebo enebo merged commit 0eb216a into jruby:master Jul 11, 2013
1 check passed
1 check passed
default The Travis CI build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants