Displaying 3 results from an estimated 3 matches for "error_branch".
2010 Sep 27
1
[LLVMdev] LLVM Exception Handling
On 27 September 2010 01:12, Nathan Jeffords <blunted2night at gmail.com> wrote:
> How about this syntax:
> invoke @method(i32 %arg)
> ret i32 %return_value to label %success_branch
> unwind i8* %exception_pointer to label %error_branch
> this makes the instruction self consistent, and self documenting
I like it.
What if the function returns void? Would you omit the whole type+value?
--
cheers,
--renato
http://systemcall.org/
Reclaim your digital rights, eliminate DRM, learn more at
http://www.defectivebydesign.org/what_i...
2010 Sep 26
2
[LLVMdev] LLVM Exception Handling
Ok, I see it. Works for me.
On Sun, Sep 26, 2010 at 3:01 PM, Renato Golin <rengolin at systemcall.org>wrote:
> On 26 September 2010 22:11, Nathan Jeffords <blunted2night at gmail.com>
> wrote:
> > The "exception" value will *always* be i8*, it is not possible for it to
> be
> > anything different.
> > In the end, this a minor parser detail and it
2010 Sep 27
0
[LLVMdev] LLVM Exception Handling
How about this syntax:
invoke @method(i32 %arg)
ret i32 %return_value to label %success_branch
unwind i8* %exception_pointer to label %error_branch
this makes the instruction self consistent, and self documenting
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100926/5de04087/attachment.html>