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 8f6e269a-dfd6-0310-a8e1-e2731360e62c
diff --git a/pub/libvex_ir.h b/pub/libvex_ir.h
index b97e10e..3bb2be1 100644
--- a/pub/libvex_ir.h
+++ b/pub/libvex_ir.h
@@ -32,14 +32,15 @@
/* ------------------ 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 @@
}
IRConst;
+extern IRConst* IRConst_Bit ( Bool );
extern IRConst* IRConst_U8 ( UChar );
extern IRConst* IRConst_U16 ( UShort );
extern IRConst* IRConst_U32 ( UInt );