[LLVMdev] RFC: Constant Creation API

Duncan Sands baldrick at free.fr
Fri Jul 24 09:30:30 PDT 2009


> The ones that don't can be static functions on the type class that  
> take a context.  For example, Type::Int32Ty needs to become a function  
> that takes a context at some point.

Why is that?  If it is read-only then it should be possible to share
it between all threads.

Ciao,

Duncan.



More information about the llvm-dev mailing list