Displaying 3 results from an estimated 3 matches for "c627032e".
2009 Jul 25
1
[LLVMdev] RFC: Constant Creation API
...> llvm::Context on the stack?
Yes, you'll have to write something like:
C = llvm::ConstantInt::get(llvm::Type::getInt32Ty(Context), 0);
-Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090725/c627032e/attachment.html>
2009 Jul 25
0
[LLVMdev] RFC: Constant Creation API
Hi,
On Fri, Jul 24, 2009 at 7:03 PM, Chris Lattner <clattner at apple.com> wrote:
>
> On Jul 24, 2009, at 9:30 AM, Duncan Sands wrote:
>
> >> 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.
> >
2009 Jul 24
2
[LLVMdev] RFC: Constant Creation API
On Jul 24, 2009, at 9:30 AM, Duncan Sands wrote:
>> 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.
Type's aren't