diff options
Diffstat (limited to 'gcc/java/jcf-reader.c')
| -rw-r--r-- | gcc/java/jcf-reader.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/java/jcf-reader.c b/gcc/java/jcf-reader.c index 25517d68453..c437d168af7 100644 --- a/gcc/java/jcf-reader.c +++ b/gcc/java/jcf-reader.c @@ -330,8 +330,8 @@ jcf_parse_constant_pool (JCF* jcf) { int i, n; JPOOL_SIZE (jcf) = (JCF_FILL (jcf, 2), JCF_readu2 (jcf)); - jcf->cpool.tags = ggc_alloc (JPOOL_SIZE (jcf)); - jcf->cpool.data = ggc_alloc (sizeof (jword) * JPOOL_SIZE (jcf)); + jcf->cpool.tags = GGC_NEWVAR (uint8, JPOOL_SIZE (jcf)); + jcf->cpool.data = GGC_NEWVAR (union cpool_entry, sizeof (jword) * JPOOL_SIZE (jcf)); jcf->cpool.tags[0] = 0; #ifdef HANDLE_START_CONSTANT_POOL HANDLE_START_CONSTANT_POOL (JPOOL_SIZE (jcf)); |

