aboutsummaryrefslogtreecommitdiff
path: root/riscv/decode.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/decode.h')
-rw-r--r--riscv/decode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/decode.h b/riscv/decode.h
index bc24275..1878478 100644
--- a/riscv/decode.h
+++ b/riscv/decode.h
@@ -1574,7 +1574,7 @@ for (reg_t i = 0; i < vlmax; ++i) { \
val = MMU.load_##itype##tsew(baseAddr + (i * nf + fn) * (tsew / 8)); \
} catch (trap_t& t) { \
if (i == 0) \
- throw t; /* Only take exception on zeroth element */ \
+ throw; /* Only take exception on zeroth element */ \
/* Reduce VL if an exception occurs on a later element */ \
early_stop = true; \
P.VU.vl = i; \