[llvm-commits] Changing MCE and JCE to modern '_t' style types

Aaron Gray aaronngray.lists at googlemail.com
Wed Jun 10 15:36:32 PDT 2009


Here's a patch for the MachineCodeEmitter and JITCodeEmitter classes, 
changing older types to '_t' types.

I have used [u]int64_t types for emitULEB128Bytes() and emitSLEB128Bytes() 
methods used for DWARF style EH in JIT.

We could use a [u]int128_t instead if we defined them properly in 
include/llvm/Support/DataTypes.h.in, but 64 bits should be large enough for 
the forseeable future :)

The patch has been tested with 'make check' on Linux.

Aaron 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MCE_JCE_t.patch
Type: application/octet-stream
Size: 3396 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090610/9fdd91a9/attachment.obj>


More information about the llvm-commits mailing list