summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJonas Haag <jonas@lophus.org>2015-12-10 17:49:07 +0100
committerPhilipp Serrer <philipp@serrer.de>2018-01-18 17:53:19 +0100
commitacc11b5904792cc7247f71e70bbfd4e150cfa081 (patch)
tree92c816c4bf1a6e5d62b158bf3e529237c4991b85
parentff74e2574654b1dcd5c5314764ca855d51ae8bf9 (diff)
Fix Raise mode in verifier
-rw-r--r--ir/ir/irverify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/ir/irverify.c b/ir/ir/irverify.c
index 0c78df2..b32fdb5 100644
--- a/ir/ir/irverify.c
+++ b/ir/ir/irverify.c
@@ -519,7 +519,7 @@ static int verify_node_Return(const ir_node *n)
static int verify_node_Raise(const ir_node *n)
{
- bool fine = check_mode(n, mode_X);
+ bool fine = check_mode(n, mode_T);
fine &= check_input_func(n, n_Raise_exo_ptr, "exo_ptr", mode_is_reference, "reference");
fine &= check_input_mode(n, n_Raise_mem, "mem", mode_M);
return fine;