Method: RCGTK::BasicBlock::InstructionCollection#first
- Defined in:
- lib/rcgtk/basic_block.rb
#first ⇒ Instruction
Returns First instruction in this collection.
148 149 150 |
# File 'lib/rcgtk/basic_block.rb', line 148 def first if (ptr = Bindings.get_first_instruction(@bb)).null? then nil else Instruction.from_ptr(ptr) end end |