search for: 18ee4cd4

Displaying 2 results from an estimated 2 matches for "18ee4cd4".

2009 Jul 15
0
[LLVMdev] Alloca with LLVMContext
...last parameter and have it use a default LLVMContext (say, > the one from getGlobalContext())? Possibly. I'll look at it when I get in. --Owen -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090715/18ee4cd4/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2620 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090715/18ee4cd4/attachment.bin>
2009 Jul 15
2
[LLVMdev] Alloca with LLVMContext
Dear All, Is there a reason why the AllocaInst constructor takes an LLVMContext argument? Can't it just determine the context from either the basic block or instruction pointer argument? If the constructor can infer the context automatically, that would save one API change. If the constructor can't infer it, would it be possible to make the context the last parameter and have it use a