Commit 9fe0563a by Richard Kenner

(layout_type): Use ptr_mode instead of equivalent call to

mode_for_size.

From-SVN: r8549
parent 15c9248c
...@@ -706,8 +706,7 @@ layout_type (type) ...@@ -706,8 +706,7 @@ layout_type (type)
case OFFSET_TYPE: case OFFSET_TYPE:
TYPE_SIZE (type) = size_int (POINTER_SIZE); TYPE_SIZE (type) = size_int (POINTER_SIZE);
TYPE_MODE (type) = mode_for_size (POINTER_SIZE, TYPE_MODE (type) = ptr_mode;
GET_MODE_CLASS (Pmode), 0);
break; break;
case FUNCTION_TYPE: case FUNCTION_TYPE:
...@@ -718,8 +717,7 @@ layout_type (type) ...@@ -718,8 +717,7 @@ layout_type (type)
case POINTER_TYPE: case POINTER_TYPE:
case REFERENCE_TYPE: case REFERENCE_TYPE:
TYPE_MODE (type) = mode_for_size (POINTER_SIZE, TYPE_MODE (type) = ptr_mode;
GET_MODE_CLASS (Pmode), 0);
TYPE_SIZE (type) = size_int (POINTER_SIZE); TYPE_SIZE (type) = size_int (POINTER_SIZE);
TREE_UNSIGNED (type) = 1; TREE_UNSIGNED (type) = 1;
TYPE_PRECISION (type) = POINTER_SIZE; TYPE_PRECISION (type) = POINTER_SIZE;
......
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