* src/vm/jit/powerpc64/codegen.c (codegen_emit): ICMD_INSTANCEOF:
authortwisti <none@none>
Wed, 23 May 2007 15:25:18 +0000 (15:25 +0000)
committertwisti <none@none>
Wed, 23 May 2007 15:25:18 +0000 (15:25 +0000)
Removed unused supervftbl.

* src/vm/jit/emit-common.h [__POWERPC64__] (emit_bnan): Enabled.

src/vm/jit/emit-common.h
src/vm/jit/powerpc64/codegen.c

index b37c063eb9dbabba04411df6592c23b19a7668a0..5d39dc3481066fc8d114c36a713838cd9d06874e 100644 (file)
@@ -145,7 +145,7 @@ void emit_buge(codegendata *cd, basicblock *target);
 void emit_bugt(codegendata *cd, basicblock *target);
 #endif
 
-#if defined(__POWERPC__)
+#if defined(__POWERPC__) || defined(__POWERPC64__)
 void emit_bnan(codegendata *cd, basicblock *target);
 #endif
 
index 937def193a83c62b6891acb3791bdabc85083d9b..612742af9076de1a8448afe829ebd613a4578e0d 100644 (file)
@@ -22,7 +22,7 @@
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
    02110-1301, USA.
 
-   $Id: codegen.c 7944 2007-05-23 14:15:00Z tbfg $
+   $Id: codegen.c 7945 2007-05-23 15:25:18Z twisti $
 
 */
 
@@ -2312,10 +2312,11 @@ gen_method:
                                s4         superindex;
 
                                if (INSTRUCTION_IS_UNRESOLVED(iptr)) {
-                                       super = NULL;
+                                       super      = NULL;
                                        superindex = 0;
-                               } else {
-                                       super = iptr->sx.s23.s3.c.cls;
+                               }
+                               else {
+                                       super      = iptr->sx.s23.s3.c.cls;
                                        superindex = super->index;
                                }
                
@@ -2477,15 +2478,14 @@ gen_method:
 
                        {
                        classinfo *super;
-                       vftbl_t   *supervftbl;
                        s4         superindex;
 
                        if (INSTRUCTION_IS_UNRESOLVED(iptr)) {
-                               super = NULL;
+                               super      = NULL;
                                superindex = 0;
                        }
                        else {
-                               super = iptr->sx.s23.s3.c.cls;
+                               super      = iptr->sx.s23.s3.c.cls;
                                superindex = super->index;
                        }