diff options
author | apbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-04-03 17:32:02 +0000 |
---|---|---|
committer | apbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-04-03 17:32:02 +0000 |
commit | 97ff2480aafce58c4c3640bdc03a2b1650f46823 (patch) | |
tree | 550e869aa7caa222392f65e4478661e5b7a6a286 /gcc/java/boehm.c | |
parent | 701e46d0e8a0465eb15923f104e7d741c4b1c8ca (diff) | |
download | gcc-97ff2480aafce58c4c3640bdc03a2b1650f46823.tar.gz |
2001-03-28 Hans Boehm <boehm@acm.org>
* boehm.c (PROCEDURE_OBJECT_DESCRIPTOR): Set to use `build_int_2.'
(get_boehm_type_descriptor): Set type on returned value to be a
pointer length integer.
(http://gcc.gnu.org/ml/java/2001-03/msg00444.html)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41059 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/boehm.c')
-rw-r--r-- | gcc/java/boehm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/java/boehm.c b/gcc/java/boehm.c index 650d51645bf..c76cad3475f 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; } |