Add ILGop_Ident64 to enum type IRLoadGOp so as to make it
possible to represent 64 bit conditional loads in IR.
git-svn-id: svn://svn.valgrind.org/vex/trunk@3074 8f6e269a-dfd6-0310-a8e1-e2731360e62c
diff --git a/priv/ir_defs.c b/priv/ir_defs.c
index 9dbe2ac..5b2b750 100644
--- a/priv/ir_defs.c
+++ b/priv/ir_defs.c
@@ -1456,6 +1456,7 @@
{
switch (cvt) {
case ILGop_INVALID: vex_printf("ILGop_INVALID"); break;
+ case ILGop_Ident64: vex_printf("Ident64"); break;
case ILGop_Ident32: vex_printf("Ident32"); break;
case ILGop_16Uto32: vex_printf("16Uto32"); break;
case ILGop_16Sto32: vex_printf("16Sto32"); break;
@@ -3495,6 +3496,8 @@
/*OUT*/IRType* t_res, /*OUT*/IRType* t_arg )
{
switch (cvt) {
+ case ILGop_Ident64:
+ *t_res = Ity_I64; *t_arg = Ity_I64; break;
case ILGop_Ident32:
*t_res = Ity_I32; *t_arg = Ity_I32; break;
case ILGop_16Uto32: case ILGop_16Sto32:
diff --git a/pub/libvex_ir.h b/pub/libvex_ir.h
index 3c998d0..bd97f87 100644
--- a/pub/libvex_ir.h
+++ b/pub/libvex_ir.h
@@ -2566,6 +2566,7 @@
typedef
enum {
ILGop_INVALID=0x1D00,
+ ILGop_Ident64, /* 64 bit, no conversion */
ILGop_Ident32, /* 32 bit, no conversion */
ILGop_16Uto32, /* 16 bit load, Z-widen to 32 */
ILGop_16Sto32, /* 16 bit load, S-widen to 32 */