]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Header changes for Bit-typed constants. Really this should have
authorJulian Seward <jseward@acm.org>
Fri, 20 Aug 2004 00:09:03 +0000 (00:09 +0000)
committerJulian Seward <jseward@acm.org>
Fri, 20 Aug 2004 00:09:03 +0000 (00:09 +0000)
been committed as part of rev 183.

git-svn-id: svn://svn.valgrind.org/vex/trunk@184

VEX/pub/libvex_ir.h

index b97e10ec293d5bd7176a73e60e145cb595eab2c6..3bb2be19d4be05a2aa1eee7e7284feac0fe6d9ff 100644 (file)
@@ -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 );