public BasicBlock(CFG cfg, Label label) { this.label = label; this.cfg = cfg; id = cfg.getNextBBID(); isRescueEntry = false; assert label != null : "label is null"; initInstrs(); }
public BasicBlock(CFG cfg, Label label) { this.label = label; this.cfg = cfg; id = cfg.getNextBBID(); isRescueEntry = false; assert label != null : "label is null"; initInstrs(); }
public BasicBlock(CFG c, Label l) { label = l; cfg = c; id = c.getNextBBID(); instrs = new ArrayList<Instr>(); if (RubyInstanceConfig.IR_COMPILER_DEBUG || RubyInstanceConfig.IR_VISUALIZER) { IRManager irManager = cfg.getScope().getManager(); InstructionsListener listener = irManager.getInstructionsListener(); if (listener != null) { instrs = new InstructionsListenerDecorator(instrs, listener); } } instrsArray = null; isRescueEntry = false; }
public BasicBlock(CFG c, Label l) { label = l; cfg = c; id = c.getNextBBID(); instrs = new ArrayList<Instr>(); if (RubyInstanceConfig.IR_COMPILER_DEBUG || RubyInstanceConfig.IR_VISUALIZER) { IRManager irManager = cfg.getScope().getManager(); InstructionsListener listener = irManager.getInstructionsListener(); if (listener != null) { instrs = new InstructionsListenerDecorator(instrs, listener); } } instrsArray = null; isRescueEntry = false; }