This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: FYI: missing instruction
- From: Tom Tromey <tromey at redhat dot com>
- To: Java Patch List <java-patches at gcc dot gnu dot org>
- Date: 10 Jun 2004 00:05:33 -0600
- Subject: Patch: FYI: missing instruction
- Reply-to: tromey at redhat dot com
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;