aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/boehm.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java/boehm.c')
-rw-r--r--gcc/java/boehm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/java/boehm.c b/gcc/java/boehm.c
index 650d516..c76cad3 100644
--- a/gcc/java/boehm.c
+++ b/gcc/java/boehm.c
@@ -48,7 +48,7 @@ static void set_bit PARAMS ((unsigned HOST_WIDE_INT *,
(((((env) << LOG_MAX_MARK_PROCS) | (proc_index)) << DS_TAG_BITS) \
| DS_PROC)
Here DS_PROC == 2. */
-#define PROCEDURE_OBJECT_DESCRIPTOR integer_two_node
+#define PROCEDURE_OBJECT_DESCRIPTOR build_int_2 (2, 0)
/* Treat two HOST_WIDE_INT's as a contiguous bitmap, with bit 0 being
the least significant. This function sets bit N in the bitmap. */
@@ -228,5 +228,6 @@ get_boehm_type_descriptor (tree type)
else
value = PROCEDURE_OBJECT_DESCRIPTOR;
+ TREE_TYPE (value) = type_for_mode (ptr_mode, 1);
return value;
}