Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

DLOAD.java

00001 package de.fub.bytecode.generic;
00002 
00003 /** 
00004  * DLOAD - Load double from local variable
00005  * <PRE>Stack ... -&gt; ..., result.word1, result.word2</PRE>
00006  *
00007  * @version $Id: DLOAD.java,v 1.1.1.1 2002/01/24 03:41:38 pserver Exp $
00008  * @author  <A HREF="http://www.inf.fu-berlin.de/~dahm">M. Dahm</A>
00009  */
00010 public class DLOAD extends LocalVariableInstruction
00011   implements PushInstruction, LoadInstruction {
00012   /**
00013    * Empty constructor needed for the Class.newInstance() statement in
00014    * Instruction.readInstruction(). Not to be used otherwise.
00015    */
00016   DLOAD() {
00017     super(de.fub.bytecode.Constants.DLOAD, de.fub.bytecode.Constants.DLOAD_0);
00018   }  
00019   /** Load double from local variable
00020    * @param n index of local variable
00021    */
00022   public DLOAD(int n) {
00023     super(de.fub.bytecode.Constants.DLOAD, de.fub.bytecode.Constants.DLOAD_0, n);
00024   }  
00025   /**
00026    * Call corresponding visitor method(s). The order is:
00027    * Call visitor methods of implemented interfaces first, then
00028    * call methods according to the class hierarchy in descending order,
00029    * i.e., the most specific visitXXX() call comes last.
00030    *
00031    * @param v Visitor object
00032    */
00033   public void accept(Visitor v) {
00034     v.visitStackProducer(this);
00035     v.visitPushInstruction(this);
00036     v.visitLoadInstruction(this);
00037     v.visitTypedInstruction(this);
00038     v.visitLocalVariableInstruction(this);
00039     v.visitDLOAD(this);
00040   }  
00041 }

Generated at Thu Feb 7 06:44:33 2002 for Bandera by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001