aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target-alpha/translate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/target-alpha/translate.c b/target-alpha/translate.c
index 7b28abcd39..91f2387cce 100644
--- a/target-alpha/translate.c
+++ b/target-alpha/translate.c
@@ -2186,11 +2186,10 @@ static always_inline int translate_one (DisasContext *ctx, uint32_t insn)
/* Invalid */
goto invalid_opc;
}
- if (ra != 31)
+ if (ra == 31)
tcg_temp_free(val);
tcg_temp_free(addr);
}
- ret = 2;
break;
#endif
case 0x20: