[llvm-commits] [llvm-gcc-4.2] r104420 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

Duncan Sands baldrick at free.fr
Sat May 22 04:23:07 PDT 2010


Hi Jim,

> Hook up __builtin_longjmp() to eh.sjlj.longjmp

doesn't this indicate that eh.sjlj.longjmp has nothing to do with exception
handling?  If so, maybe it should be renamed.

Ciao,

Duncan.

> +    Builder.CreateCall(Intrinsic::getDeclaration(TheModule,
> +                                                 Intrinsic::eh_sjlj_longjmp),
> +                      Buf);
> +    Result = 0;

There's no need to set Result to zero.

Ciao,

Duncan.



More information about the llvm-commits mailing list