[llvm-commits] [llvm] r71610 - in /llvm/trunk: include/llvm/CodeGen/MachineFunction.h include/llvm/Intrinsics.td lib/CodeGen/MachineFunction.cpp lib/CodeGen/PrologEpilogInserter.cpp lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp lib/Target/ARM/AR

Evan Cheng evan.cheng at apple.com
Tue May 12 18:57:36 PDT 2009


On May 12, 2009, at 6:47 PM, Eli Friedman wrote:

> On Tue, May 12, 2009 at 6:36 PM, Evan Cheng <evan.cheng at apple.com>  
> wrote:
>> Thanks Jim. But can you pick better names than builtinsetjmp /
>> longjmp? These are not really setjmp / longjmp.
>
> Mmm... agreed that they're not great names, but there is a reason for
> the names: they correspond to the gcc builtins __builtin_setjmp and
> __builtin_longjmp.

I understand. But it's still not a very confusing name. Do we have to  
follow use gcc's builtin names? These are llvm intrinsics, we can  
define them how we want. It just happens we implement gcc's  
__builtin_setjmp / longjmp with these. :-)

Evan

>
> -Eli
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list