Blame valgrind-3.6.0-s390x-4.patch
|
Jakub Jelinek |
79c245 |
--- valgrind/VEX/priv/guest_s390_cc.c.jj 2010-11-11 16:55:05.000000000 +0100
|
|
Jakub Jelinek |
79c245 |
+++ valgrind/VEX/priv/guest_s390_cc.c 2010-11-11 17:38:10.786580286 +0100
|
|
Jakub Jelinek |
79c245 |
@@ -39,8 +39,6 @@
|
|
Jakub Jelinek |
79c245 |
#include "guest_s390_priv.h" /* irsb */
|
|
Jakub Jelinek |
79c245 |
#include "guest_s390_cc.h"
|
|
Jakub Jelinek |
79c245 |
|
|
Jakub Jelinek |
79c245 |
-#if defined(VGA_s390x) /* guard the file */
|
|
Jakub Jelinek |
79c245 |
-
|
|
Jakub Jelinek |
79c245 |
static UInt s390_calculate_cc(ULong cc_op, ULong cc_dep1, ULong cc_dep2,
|
|
Jakub Jelinek |
79c245 |
ULong cc_ndep);
|
|
Jakub Jelinek |
79c245 |
|
|
Jakub Jelinek |
79c245 |
@@ -418,6 +416,7 @@ s390_calculate_cc(ULong cc_op, ULong cc_
|
|
Jakub Jelinek |
79c245 |
{
|
|
Jakub Jelinek |
79c245 |
UInt psw;
|
|
Jakub Jelinek |
79c245 |
|
|
Jakub Jelinek |
79c245 |
+#if defined(VGA_s390x)
|
|
Jakub Jelinek |
79c245 |
switch (cc_op) {
|
|
Jakub Jelinek |
79c245 |
|
|
Jakub Jelinek |
79c245 |
case S390_CC_OP_BITWISE:
|
|
Jakub Jelinek |
79c245 |
@@ -611,6 +610,7 @@ s390_calculate_cc(ULong cc_op, ULong cc_
|
|
Jakub Jelinek |
79c245 |
default:
|
|
Jakub Jelinek |
79c245 |
break;
|
|
Jakub Jelinek |
79c245 |
}
|
|
Jakub Jelinek |
79c245 |
+#endif
|
|
Jakub Jelinek |
79c245 |
vpanic("s390_calculate_cc");
|
|
Jakub Jelinek |
79c245 |
}
|
|
Jakub Jelinek |
79c245 |
|
|
Jakub Jelinek |
79c245 |
@@ -680,8 +680,6 @@ s390_call_calculate_cond(UInt m)
|
|
Jakub Jelinek |
79c245 |
return call;
|
|
Jakub Jelinek |
79c245 |
}
|
|
Jakub Jelinek |
79c245 |
|
|
Jakub Jelinek |
79c245 |
-#endif /* VGA_s390x */
|
|
Jakub Jelinek |
79c245 |
-
|
|
Jakub Jelinek |
79c245 |
/*---------------------------------------------------------------*/
|
|
Jakub Jelinek |
79c245 |
/*--- end guest_s390_cc.c ---*/
|
|
Jakub Jelinek |
79c245 |
/*---------------------------------------------------------------*/
|