]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
mips32/mips64: Fix compiler warnings.
authorDejan Jevtic <dejan.jevtic@valgrind.org>
Thu, 15 Aug 2013 13:38:26 +0000 (13:38 +0000)
committerDejan Jevtic <dejan.jevtic@valgrind.org>
Thu, 15 Aug 2013 13:38:26 +0000 (13:38 +0000)
Fix some compiler warnings when compiling Valgrind for no mips arch.

git-svn-id: svn://svn.valgrind.org/vex/trunk@2741

VEX/priv/host_mips_defs.h

index d4c0c8c22199cc27d1e88652dafb0eae62581c84..3462187f2547cae606c0ad1c90947760c8bb5e30 100644 (file)
 #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. --------- */