Patch: typo in interpret.cc

Tom Tromey tromey@cygnus.com
Fri Feb 11 15:11:00 GMT 2000


I'm checking in the following patch, from Hans Boehm.
It fixes a bug in in the interpreter which is only visible on 64bit
platforms.

2000-02-11  Tom Tromey  <tromey@cygnus.com>

	* interpret.cc (continue1): Use STOREA, not STOREI, to implement
	astore instruction.  From Hans Boehm.

Tom

Index: THANKS
===================================================================
RCS file: /cvs/java/libgcj/libjava/THANKS,v
retrieving revision 1.8
diff -u -r1.8 THANKS
--- THANKS	1999/12/03 03:00:39	1.8
+++ THANKS	2000/02/11 23:09:30
@@ -5,7 +5,7 @@
 order.
 
 Geoff Berry for his object serialization work and various patches.
-Hans-J. Boehm for his garbage collector.
+Hans-J. Boehm for his garbage collector and other work.
 Godmar Back for his improvements and encouragement.
 Per Bothner for dreaming up, designing and implementing much of gcj.
 Steve Chamberlain for config fixes and the picoJava port.
Index: interpret.cc
===================================================================
RCS file: /cvs/java/libgcj/libjava/interpret.cc,v
retrieving revision 1.11
diff -u -r1.11 interpret.cc
--- interpret.cc	2000/02/10 17:15:22	1.11
+++ interpret.cc	2000/02/11 23:09:38
@@ -1080,7 +1080,7 @@
       NEXT_INSN;
 
      insn_astore:
-      STOREI (get1u (pc++));
+      STOREA (get1u (pc++));
       NEXT_INSN;
 
      insn_istore_0:


More information about the Java-patches mailing list