You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bcel-dev@jakarta.apache.org by en...@apache.org on 2001/12/16 13:51:07 UTC
cvs commit: jakarta-bcel/src/java/org/apache/bcel/generic PUTFIELD.java
enver 01/12/16 04:51:07
Modified: src/java/org/apache/bcel/generic PUTFIELD.java
Log:
Repaired accept(Visitor) method: PUTFIELD is a StackConsumer, namely a PopInstruction.
Revision Changes Path
1.2 +3 -1 jakarta-bcel/src/java/org/apache/bcel/generic/PUTFIELD.java
Index: PUTFIELD.java
===================================================================
RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/generic/PUTFIELD.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- PUTFIELD.java 2001/10/29 20:00:25 1.1
+++ PUTFIELD.java 2001/12/16 12:51:07 1.2
@@ -63,7 +63,7 @@
* OR
* <PRE>Stack: ..., objectref, value.word1, value.word2 -> ...</PRE>
*
- * @version $Id: PUTFIELD.java,v 1.1 2001/10/29 20:00:25 jvanzyl Exp $
+ * @version $Id: PUTFIELD.java,v 1.2 2001/12/16 12:51:07 enver Exp $
* @author <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
*/
public class PUTFIELD extends FieldInstruction implements ExceptionThrower{
@@ -104,6 +104,8 @@
*/
public void accept(Visitor v) {
v.visitExceptionThrower(this);
+ v.visitStackConsumer(this);
+ v.visitPopInstruction(this);
v.visitTypedInstruction(this);
v.visitLoadClass(this);
v.visitCPInstruction(this);
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>