[LLVMdev] First class function pointers

Chris Lattner clattner at apple.com
Thu Feb 5 19:33:57 PST 2009


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




More information about the llvm-dev mailing list