Commit d22c2324 by Tom Tromey

reverted erroneous checkin

From-SVN: r54193
parent 5d83269d
...@@ -7656,27 +7656,16 @@ reg_loc_descriptor (rtl) ...@@ -7656,27 +7656,16 @@ reg_loc_descriptor (rtl)
rtx rtl; rtx rtl;
{ {
dw_loc_descr_ref loc_result = NULL; dw_loc_descr_ref loc_result = NULL;
unsigned reg, i, max; unsigned reg;
if (REGNO (rtl) >= FIRST_PSEUDO_REGISTER) if (REGNO (rtl) >= FIRST_PSEUDO_REGISTER)
return 0; return 0;
reg = reg_number (rtl); reg = reg_number (rtl);
max = HARD_REGNO_NREGS (reg, GET_MODE (rtl)); if (reg <= 31)
for (i = 0; i < max; ++i) loc_result = new_loc_descr (DW_OP_reg0 + reg, 0, 0);
{ else
add_loc_descr (&loc_result, loc_result = new_loc_descr (DW_OP_regx, reg, 0);
new_loc_descr (reg <= 31 ? DW_OP_reg0 + reg : DW_OP_regx,
reg <= 31 ? 0 : reg,
0));
if (max > 1)
add_loc_descr (&loc_result,
new_loc_descr (DW_OP_piece,
GET_MODE_SIZE (reg_raw_mode[reg]), 0));
++reg;
}
return loc_result; return loc_result;
} }
......
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