aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/decl.c
diff options
context:
space:
mode:
authorGabriel Dos Reis <gdr@cs.tamu.edu>2009-10-01 15:31:42 +0000
committerGabriel Dos Reis <gdr@gcc.gnu.org>2009-10-01 15:31:42 +0000
commitec6a6eb7d7abadb0aebfbcc6686a0d762b393f55 (patch)
treea1dd6f6d5066fc3b5d62f114b979857d3f5b3db1 /gcc/cp/decl.c
parent2968d410491161912b56a2ec7f7528d06d5ba19d (diff)
downloadgcc-ec6a6eb7d7abadb0aebfbcc6686a0d762b393f55.zip
gcc-ec6a6eb7d7abadb0aebfbcc6686a0d762b393f55.tar.gz
gcc-ec6a6eb7d7abadb0aebfbcc6686a0d762b393f55.tar.bz2
decl.c (record_builtin_java_type): Undo unintended change.
* decl.c (record_builtin_java_type): Undo unintended change. (cxx_init_decl_processing): Likewise. From-SVN: r152375
Diffstat (limited to 'gcc/cp/decl.c')
-rw-r--r--gcc/cp/decl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index 9f5ca30..5d3ff9d 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -3231,7 +3231,7 @@ record_builtin_java_type (const char* name, int size)
}
else
{ /* "__java_float" or ""__java_double". */
- type = cxx_make_type (REAL_TYPE);
+ type = make_node (REAL_TYPE);
TYPE_PRECISION (type) = - size;
layout_type (type);
}
@@ -3397,7 +3397,7 @@ cxx_init_decl_processing (void)
/* C++ extensions */
- unknown_type_node = cxx_make_type (UNKNOWN_TYPE);
+ unknown_type_node = make_node (UNKNOWN_TYPE);
record_unknown_type (unknown_type_node, "unknown type");
/* Indirecting an UNKNOWN_TYPE node yields an UNKNOWN_TYPE node. */
@@ -3408,13 +3408,13 @@ cxx_init_decl_processing (void)
TYPE_POINTER_TO (unknown_type_node) = unknown_type_node;
TYPE_REFERENCE_TO (unknown_type_node) = unknown_type_node;
- init_list_type_node = cxx_make_type (UNKNOWN_TYPE);
+ init_list_type_node = make_node (UNKNOWN_TYPE);
record_unknown_type (init_list_type_node, "init list");
{
/* Make sure we get a unique function type, so we can give
its pointer type a name. (This wins for gdb.) */
- tree vfunc_type = cxx_make_type (FUNCTION_TYPE);
+ tree vfunc_type = make_node (FUNCTION_TYPE);
TREE_TYPE (vfunc_type) = integer_type_node;
TYPE_ARG_TYPES (vfunc_type) = NULL_TREE;
layout_type (vfunc_type);
@@ -3436,7 +3436,7 @@ cxx_init_decl_processing (void)
abi_node = current_namespace;
pop_namespace ();
- global_type_node = cxx_make_type (LANG_TYPE);
+ global_type_node = make_node (LANG_TYPE);
record_unknown_type (global_type_node, "global type");
/* Now, C++. */