]> git.proxmox.com Git - mirror_qemu.git/commitdiff
tcg/mips: Fix regression caused by typo (copy + paste bug)
authorStefan Weil <weil@mail.berlios.de>
Wed, 20 Jul 2011 18:56:36 +0000 (20:56 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Wed, 20 Jul 2011 21:03:37 +0000 (21:03 +0000)
cppcheck reports an error:
qemu/tcg/mips/tcg-target.c:1487: error: Invalid number of character (()

The unpatched code won't compile on mips hosts starting with commit
cea5f9a28faa528b6b1b117c9ab2d8828f473fef.

Cc: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
tcg/mips/tcg-target.c

index 12ff9d52592e3b93bd61370d0aeb57afe9e142bd..a33d21fd07455b18ef8e3d0f85d46a165e953d8a 100644 (file)
@@ -1484,7 +1484,7 @@ static void tcg_target_qemu_prologue(TCGContext *s)
     }
 
     /* Call generated code */
-    tcg_out_opc_reg(s, OPC_JR, 0, tcg_target_call_iarg_regs[1]), 0);
+    tcg_out_opc_reg(s, OPC_JR, 0, tcg_target_call_iarg_regs[1], 0);
     tcg_out_mov(s, TCG_TYPE_PTR, TCG_AREG0, tcg_target_call_iarg_regs[0]);
     tb_ret_addr = s->code_ptr;