Method: LLVM::Builder#position_at_end

Defined in:
lib/llvm/core/builder.rb

#position_at_end(block) ⇒ LLVM::Builder

Positions the builder at the end of the given BasicBlock.

Parameters:

Returns:



44
45
46
47
48
# File 'lib/llvm/core/builder.rb', line 44

def position_at_end(block)
  raise "Block must not be nil" if block.nil?
  C.position_builder_at_end(self, block)
  self
end