tcg-hppa: Fix typo in brcond2
authorRichard Henderson <rth@twiddle.net>
Fri, 28 Dec 2012 22:19:35 +0000 (14:19 -0800)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 29 Dec 2012 12:21:53 +0000 (12:21 +0000)
Reported-by: Stuart Brady <sdb@zubnet.me.uk>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
tcg/hppa/tcg-target.c

index 5b27cf6..656e736 100644 (file)
@@ -824,7 +824,7 @@ static void tcg_out_brcond2(TCGContext *s, int cond, TCGArg al, TCGArg ah,
         tcg_out_brcond(s, TCG_COND_EQ, ah, bh, bhconst, label_index);
         break;
     case TCG_COND_NE:
-        tcg_out_brcond(s, TCG_COND_NE, al, bl, bhconst, label_index);
+        tcg_out_brcond(s, TCG_COND_NE, al, bl, blconst, label_index);
         tcg_out_brcond(s, TCG_COND_NE, ah, bh, bhconst, label_index);
         break;
     default: