Commit cfa24dd6 authored by Matthias Braun's avatar Matthias Braun
Browse files

also change mode_P when setting a new modeP_data

parent 2413c901
...@@ -226,6 +226,7 @@ void set_modeP_data(ir_mode *p) ...@@ -226,6 +226,7 @@ void set_modeP_data(ir_mode *p)
{ {
assert(mode_is_reference(p)); assert(mode_is_reference(p));
mode_P_data = p; mode_P_data = p;
mode_P = p;
} }
/** /**
......
Markdown is supported
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