Commit 0563b37d authored by Michael Beck's avatar Michael Beck
Browse files

- BugFix: replaced wrong cast by right code (no crash because offset is 0)

parent 33113940
......@@ -1596,7 +1596,7 @@ arch_irn_handler_t *be_phi_handler_new(const arch_env_t *arch_env)
h->irn_ops.impl = &phi_irn_ops;
h->arch_env = arch_env;
h->phi_attrs = pmap_create();
return (arch_irn_handler_t *) h;
return &h->irn_handler;
void be_phi_handler_free(arch_irn_handler_t *handler)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment