Class: CFGVisualizer
- Inherits:
-
JRubyFX::Application
- Object
- JRubyFX::Application
- CFGVisualizer
- Defined in:
- lib/jruby_visualizer/cfg_visualizer.rb
Overview
UI to visualize the IR’s Control Flow Graph (CFG) Currently as a list view with live links between the basic blocks
Instance Method Summary collapse
Instance Method Details
#start(stage) ⇒ Object
31 32 33 34 35 36 37 38 |
# File 'lib/jruby_visualizer/cfg_visualizer.rb', line 31 def start(stage) compiler_data = JRubyVisualizer.compiler_data with(stage, title: 'Visualization of Control Flow Graphs (CFG)') do fxml(CFGVisualizerController, initialize: [compiler_data]) icons.add(Image.new(resource_url(:images, 'jruby-icon-32.png').to_s)) show end end |