From 87a94af7fac4f3c2cef44646a585e862aa7687e8 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Wed, 4 Feb 2009 10:34:38 +0000 Subject: [PATCH] - add missing Load and Builtin support for opcode() [r25423] --- ir/opt/opt_blocks.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ir/opt/opt_blocks.c b/ir/opt/opt_blocks.c index 4ad1b952e..41cd07521 100644 --- a/ir/opt/opt_blocks.c +++ b/ir/opt/opt_blocks.c @@ -409,9 +409,15 @@ static opcode_key_t *opcode(const node_t *node, environment_t *env) { case iro_Conv: key.u.intVal = get_Conv_strict(irn); break; + case iro_Load: + key.mode = get_Load_mode(irn); + break; case iro_Div: key.u.intVal = is_Div_remainderless(irn); break; + case iro_Builtin: + key.u.intVal = get_Builtin_kind(irn); + break; default: break; } -- 2.20.1