00001 package de.fub.bytecode.generic; 00002 00003 /** 00004 * IALOAD - Load int from array 00005 * <PRE>Stack: ..., arrayref, index -> ..., value</PRE> 00006 * 00007 * @version $Id: IALOAD.java,v 1.1.1.1 2002/01/24 03:41:39 pserver Exp $ 00008 * @author <A HREF="http://www.inf.fu-berlin.de/~dahm">M. Dahm</A> 00009 */ 00010 public class IALOAD extends ArrayInstruction implements StackProducer { 00011 /** 00012 * Load int from array 00013 */ 00014 public IALOAD() { 00015 super(de.fub.bytecode.Constants.IALOAD); 00016 } 00017 /** 00018 * Call corresponding visitor method(s). The order is: 00019 * Call visitor methods of implemented interfaces first, then 00020 * call methods according to the class hierarchy in descending order, 00021 * i.e., the most specific visitXXX() call comes last. 00022 * 00023 * @param v Visitor object 00024 */ 00025 public void accept(Visitor v) { 00026 v.visitStackProducer(this); 00027 v.visitExceptionThrower(this); 00028 v.visitTypedInstruction(this); 00029 v.visitArrayInstruction(this); 00030 v.visitIALOAD(this); 00031 } 00032 }