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
merged 17 commits into from Jul 11, 2013

Conversation

Projects
None yet
2 participants
@komax
Copy link
Member

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

Merge pull request #876 from komax/komax_ast_tool_rewrite
bin/ast Add of IR Debugging Features

@enebo enebo merged commit 0eb216a into jruby:master Jul 11, 2013

1 check passed

default The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.