From: Dejan Jevtic Date: Thu, 15 Aug 2013 13:38:26 +0000 (+0000) Subject: mips32/mips64: Fix compiler warnings. X-Git-Tag: svn/VALGRIND_3_9_0^2~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ca286331825aa44a7778e53e340c3f2e57a7987;p=thirdparty%2Fvalgrind.git mips32/mips64: Fix compiler warnings. Fix some compiler warnings when compiling Valgrind for no mips arch. git-svn-id: svn://svn.valgrind.org/vex/trunk@2741 --- diff --git a/VEX/priv/host_mips_defs.h b/VEX/priv/host_mips_defs.h index d4c0c8c221..3462187f25 100644 --- a/VEX/priv/host_mips_defs.h +++ b/VEX/priv/host_mips_defs.h @@ -36,12 +36,12 @@ #include "host_generic_regs.h" /* HReg */ /* Num registers used for function calls */ -#if defined(VGP_mips64_linux) -/* a0, a1, a2, a3, a4, a5, a6, a7 */ -#define MIPS_N_REGPARMS 8 -#else +#if defined(VGP_mips32_linux) /* a0, a1, a2, a3 */ #define MIPS_N_REGPARMS 4 +#else +/* a0, a1, a2, a3, a4, a5, a6, a7 */ +#define MIPS_N_REGPARMS 8 #endif /* --------- Registers. --------- */