aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r--gcc/tree-inline.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c
index 2600fba43a2..44c0ebe13a0 100644
--- a/gcc/tree-inline.c
+++ b/gcc/tree-inline.c
@@ -382,7 +382,7 @@ remap_decl (tree decl, copy_body_data *id)
}
static ttype *
-remap_type_1 (tree type, copy_body_data *id)
+remap_type_1 (ttype_p type, copy_body_data *id)
{
ttype *new_tree, *t;
@@ -414,7 +414,7 @@ remap_type_1 (tree type, copy_body_data *id)
return new_tree;
}
else
- new_tree = copy_node (TTYPE (type));
+ new_tree = copy_node (type);
insert_decl_map (id, type, new_tree);
@@ -545,7 +545,7 @@ remap_type_1 (tree type, copy_body_data *id)
}
ttype *
-remap_type (tree type, copy_body_data *id)
+remap_type (ttype_p type, copy_body_data *id)
{
tree *node;
ttype *tmp;
@@ -562,7 +562,7 @@ remap_type (tree type, copy_body_data *id)
if (! variably_modified_type_p (type, id->src_fn))
{
insert_decl_map (id, type, type);
- return TTYPE (type);
+ return type;
}
id->remapping_type_depth++;