aboutsummaryrefslogtreecommitdiffstats
path: root/src/ortho/gcc/ortho-lang.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ortho/gcc/ortho-lang.c')
-rw-r--r--src/ortho/gcc/ortho-lang.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ortho/gcc/ortho-lang.c b/src/ortho/gcc/ortho-lang.c
index 0c38fbfce..b4fdbe388 100644
--- a/src/ortho/gcc/ortho-lang.c
+++ b/src/ortho/gcc/ortho-lang.c
@@ -1623,17 +1623,17 @@ new_const_decl (tree *res, tree ident, enum o_storage storage, tree atype)
}
void
-start_const_value (tree *cst ATTRIBUTE_UNUSED)
+start_init_value (tree *decl ATTRIBUTE_UNUSED)
{
}
void
-finish_const_value (tree *cst, tree val)
+finish_init_value (tree *decl, tree val)
{
- DECL_INITIAL (*cst) = val;
+ DECL_INITIAL (*decl) = val;
TREE_CONSTANT (val) = 1;
- TREE_STATIC (*cst) = 1;
- rest_of_decl_compilation (*cst, current_function_decl == NULL_TREE, 0);
+ TREE_STATIC (*decl) = 1;
+ rest_of_decl_compilation (*decl, current_function_decl == NULL_TREE, 0);
}
void