From: Julian Seward Date: Fri, 20 Aug 2004 00:09:03 +0000 (+0000) Subject: Header changes for Bit-typed constants. Really this should have X-Git-Tag: svn/VALGRIND_3_0_1^2~1150 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=49d76a0cafd34373a40c418cd233edf30b211cb8;p=thirdparty%2Fvalgrind.git Header changes for Bit-typed constants. Really this should have been committed as part of rev 183. git-svn-id: svn://svn.valgrind.org/vex/trunk@184 --- diff --git a/VEX/pub/libvex_ir.h b/VEX/pub/libvex_ir.h index b97e10ec29..3bb2be19d4 100644 --- a/VEX/pub/libvex_ir.h +++ b/VEX/pub/libvex_ir.h @@ -32,14 +32,15 @@ extern void ppIRType ( IRType ); /* ------------------ Constants ------------------ */ typedef - enum { Ico_U8=0x12000, - Ico_U16, Ico_U32, Ico_U64, Ico_F64 } + enum { Ico_Bit=0x12000, + Ico_U8, Ico_U16, Ico_U32, Ico_U64, Ico_F64 } IRConstTag; typedef struct _IRConst { IRConstTag tag; union { + Bool Bit; UChar U8; UShort U16; UInt U32; @@ -49,6 +50,7 @@ typedef } IRConst; +extern IRConst* IRConst_Bit ( Bool ); extern IRConst* IRConst_U8 ( UChar ); extern IRConst* IRConst_U16 ( UShort ); extern IRConst* IRConst_U32 ( UInt );