On Dec 11, 2007, at 4:12 PM, Chris Lattner wrote:

> Also, should it be possible to place a function in an address space?

I think probably not...

> Does the embedded C spec allow this?

"A function type shall not be qualified by an address-space qualifier."

I don't think this precludes the compiler from placing all functions  
in a non-default address space, however I'm not sure what that would  
get you other than a different way to handle function pointers. I  
assume you don't need address spaces to deal specially with function  
pointers in the back end.

--
Christopher Lamb



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to