diff options
author | Ranjit Mathew <rmathew@hotmail.com> | 2005-01-12 17:28:05 +0000 |
---|---|---|
committer | Ranjit Mathew <rmathew@gcc.gnu.org> | 2005-01-12 17:28:05 +0000 |
commit | 88910b6aed500381951290498ee07ac0e5551701 (patch) | |
tree | 1154c8638ca74228d1bcbab2b79028787f11c1c3 /gcc/java/expr.c | |
parent | 98e20ffd24f21f59b5eb49edb45961a2790bf81a (diff) | |
download | gcc-88910b6aed500381951290498ee07ac0e5551701.zip gcc-88910b6aed500381951290498ee07ac0e5551701.tar.gz gcc-88910b6aed500381951290498ee07ac0e5551701.tar.bz2 |
expr.c (build_jni_stub): Replace mistaken use of TYPE_SIZE_UNIT with TYPE_SIZE.
* expr.c (build_jni_stub): Replace mistaken use of TYPE_SIZE_UNIT
with TYPE_SIZE.
From-SVN: r93227
Diffstat (limited to 'gcc/java/expr.c')
-rw-r--r-- | gcc/java/expr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/java/expr.c b/gcc/java/expr.c index 8c1ad70..626b9bc 100644 --- a/gcc/java/expr.c +++ b/gcc/java/expr.c @@ -1,5 +1,5 @@ /* Process expressions for the GNU compiler for the Java(TM) language. - Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 + Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of GCC. @@ -2549,7 +2549,7 @@ build_jni_stub (tree method) args = NULL_TREE; for (tem = method_args; tem != NULL_TREE; tem = TREE_CHAIN (tem)) { - int arg_bits = TREE_INT_CST_LOW (TYPE_SIZE_UNIT (TREE_TYPE (tem))); + int arg_bits = TREE_INT_CST_LOW (TYPE_SIZE (TREE_TYPE (tem))); #ifdef PARM_BOUNDARY arg_bits = (((arg_bits + PARM_BOUNDARY - 1) / PARM_BOUNDARY) * PARM_BOUNDARY); |