Skip to content

bin/ast Add of IR Debugging Features #876

merged 17 commits into from Jul 11, 2013

2 participants

JRuby Team member
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
  • -h shows which 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 enebo merged commit 0eb216a into jruby:master Jul 11, 2013

1 check passed

Details default The Travis CI build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.