This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch: FYI: missing instruction


Strangely, the interpreter has been missing support for `wide fload'.
I didn't look to see if we ever had it, or if it was deleted.  This is
only used in the non-direct-threaded case, so it is not really very
important.

Fixed as appended.

Tom


Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>

	* interpret.cc (run): Handle wide fload.

Index: interpret.cc
===================================================================
RCS file: /cvs/gcc/gcc/libjava/interpret.cc,v
retrieving revision 1.41
diff -u -r1.41 interpret.cc
--- interpret.cc 16 Apr 2004 19:38:27 -0000 1.41
+++ interpret.cc 10 Jun 2004 06:15:22 -0000
@@ -1,6 +1,6 @@
 // interpret.cc - Code for the interpreter
 
-/* Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation
+/* Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation
 
    This file is part of libgcj.
 
@@ -3129,6 +3129,10 @@
 	    LOADI (wide);
 	    NEXT_INSN;
 
+	  case op_fload:
+	    LOADF (wide);
+	    NEXT_INSN;
+
 	  case op_aload:
 	    LOADA (wide);
 	    NEXT_INSN;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]