- do not lower Sels to outer frame
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Mon, 19 Jan 2009 23:13:12 +0000 (23:13 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Mon, 19 Jan 2009 23:13:12 +0000 (23:13 +0000)
[r25273]

ir/lower/lower_hl.c

index 391466a..8a50691 100644 (file)
@@ -59,10 +59,10 @@ static void lower_sel(ir_node *sel) {
        owner = get_entity_owner(ent);
 
        /*
-        * Cannot handle value param entities here.
+        * Cannot handle value param entities or frame type entities here.
         * Must be lowered by the backend.
         */
-       if (is_value_param_type(owner))
+       if (is_value_param_type(owner) || is_frame_type(owner))
                return;
 
        dbg  = get_irn_dbg_info(sel);