@@ -201,8 +201,12 @@ static GENERATE_GET_CLASS_WITH_CACHE (geqcomparer, "System.Collections.Generic",
201201#ifdef MINI_OP3
202202#undef MINI_OP3
203203#endif
204- #define MINI_OP (a ,b ,dest ,src1 ,src2 ) dest, src1, src2, ' ',
205- #define MINI_OP3 (a ,b ,dest ,src1 ,src2 ,src3 ) dest, src1, src2, src3,
204+ #ifdef MINI_OP4
205+ #undef MINI_OP4
206+ #endif
207+ #define MINI_OP (a ,b ,dest ,src1 ,src2 ) dest, src1, src2, ' ', ' ',
208+ #define MINI_OP3 (a ,b ,dest ,src1 ,src2 ,src3 ) dest, src1, src2, src3, ' ',
209+ #define MINI_OP4 (a ,b ,dest ,src1 ,src2 ,src3 ,src4 ) dest, src1, src2, src3, src4,
206210#define NONE ' '
207211#define IREG 'i'
208212#define FREG 'f'
@@ -220,9 +224,11 @@ mini_ins_info[] = {
220224};
221225#undef MINI_OP
222226#undef MINI_OP3
227+ #undef MINI_OP4
223228
224229#define MINI_OP (a ,b ,dest ,src1 ,src2 ) ((src2) != NONE ? 2 : ((src1) != NONE ? 1 : 0)),
225230#define MINI_OP3 (a ,b ,dest ,src1 ,src2 ,src3 ) ((src3) != NONE ? 3 : ((src2) != NONE ? 2 : ((src1) != NONE ? 1 : 0))),
231+ #define MINI_OP4 (a ,b ,dest ,src1 ,src2 ,src3 ,src4 ) ((src4) != NONE ? 4 : ((src3) != NONE ? 3 : ((src2) != NONE ? 2 : ((src1) != NONE ? 1 : 0)))),
226232/*
227233 * This should contain the index of the last sreg + 1. This is not the same
228234 * as the number of sregs for opcodes like IA64_CMP_EQ_IMM.
@@ -232,6 +238,7 @@ const gint8 mini_ins_sreg_counts[] = {
232238};
233239#undef MINI_OP
234240#undef MINI_OP3
241+ #undef MINI_OP4
235242
236243guint32
237244mono_alloc_ireg (MonoCompile * cfg )
0 commit comments