[llvm-commits] EH cleanup

Duncan Sands baldrick at free.fr
Wed May 30 14:51:44 PDT 2007


TypeInfos are passed around as pointers (i8*), yet when
a null value is needed it is passed as an i32 value of 0,
rather than an i8* null.  The attached patches change to
using an i8* null in LLVM and llvm-gcc.  At the same time
I eliminated some uses of std::vector<Value*> as a way of
holding a single Value* in the llvm-gcc EH stuff.

Ciao,

Duncan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm_eh_cleanups.diff
Type: text/x-diff
Size: 1255 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20070530/4dca5178/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc_eh_cleanups.diff
Type: text/x-diff
Size: 2063 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20070530/4dca5178/attachment-0001.diff>


More information about the llvm-commits mailing list