Skip to content

bin/ast Add of IR Debugging Features #876

Merged
enebo merged 17 commits intojruby:masterfrom
komax:komax_ast_tool_rewrite
Jul 11, 2013
Merged

bin/ast Add of IR Debugging Features #876
enebo merged 17 commits intojruby:masterfrom
komax:komax_ast_tool_rewrite

Conversation

@komax
Copy link
Member

@komax komax commented Jul 11, 2013

Hi,

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants