Method: Furnace::CFG::Node#initialize
- Defined in:
- lib/furnace/cfg/node.rb
#initialize(cfg, label = nil, insns = [], cti = nil, target_labels = [], exception_label = nil, metadata = {}) ⇒ Node
Returns a new instance of Node.
15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/furnace/cfg/node.rb', line 15 def initialize(cfg, label=nil, insns=[], cti=nil, target_labels=[], exception_label=nil, ={}) @cfg, @label = cfg, label = @instructions = insns @control_transfer_instruction = cti @target_labels = target_labels @exception_label = exception_label end |