]> gcc.gnu.org Git - gcc.git/commitdiff
expr.c (build_jni_stub): Replace mistaken use of TYPE_SIZE_UNIT with TYPE_SIZE.
authorRanjit Mathew <rmathew@hotmail.com>
Wed, 12 Jan 2005 17:28:05 +0000 (17:28 +0000)
committerRanjit Mathew <rmathew@gcc.gnu.org>
Wed, 12 Jan 2005 17:28:05 +0000 (17:28 +0000)
        * expr.c (build_jni_stub): Replace mistaken use of TYPE_SIZE_UNIT
        with TYPE_SIZE.

From-SVN: r93227

gcc/java/ChangeLog
gcc/java/expr.c

index 4fafdf7ec5579b4c51a7b4ae3b6a5921b63e3511..4e593ffe913a797296bea9767e01aab5acc229dd 100644 (file)
@@ -1,3 +1,8 @@
+2005-01-12  Ranjit Mathew  <rmathew@hotmail.com>
+
+       * expr.c (build_jni_stub): Replace mistaken use of TYPE_SIZE_UNIT
+       with TYPE_SIZE.
+
 2005-01-10  Ranjit Mathew  <rmathew@hotmail.com>
 
        * verify.c: Revert to the version before the BC-ABI merge.
index 8c1ad70e14170314c67b909b38e5f9e8f4d7194a..626b9bcadd262b44bf659910270a0926b7b109fa 100644 (file)
@@ -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);
This page took 0.086964 seconds and 5 git commands to generate.