On Feb 5, 2009, at 3:42 PM, Jon Harrop wrote: > > Unless I am mistaken, LLVM barfs if I try to pass an LLVM function > to another > function as an argument because functions are second class. Huh? can you give an example as llvm IR? You can certainly pass functions by-value as a function pointer. -Chris